Methods and systems for facilitating accessing and controlling a remote desktop of a remote machine in real time by a windows web browser utilizing HTTP

ABSTRACT

Examples of methods, systems, apparatus, and machine-readable storage media are provided to facilitate access and control of a remote desktop of a remote machine by a web browser at a client device through a web server without installing proprietary plug-ins or protocols on the client device. A web server may translate user input requests from a windows web browser into input calls compatible with a remote desktop display protocol. The web server may receive remote desktop drawing commands from the remote machine and translate the remote desktop drawing commands into web browser drawing updates compatible with the windows web browser. A web server may communicate with the windows web browser via HTTP and communicate with a remote machine via a remote desktop display protocol.

CROSS-REFERENCES TO RELATED APPLICATIONS

The present application claims the benefit of priority from U.S.Provisional Patent Application Ser. No. 61/669,639, entitled, “WEBSERVER FOR REMOTE DESKTOP DISPLAY PROTOCOL,” filed on Jul. 9, 2012. Thepresent application is also a continuation-in-part of U.S. patentapplication Ser. No. 12/965,820 entitled “METHODS AND SYSTEMS FORCONDUCTING A REMOTE DESKTOP SESSION VIA HTML THAT SUPPORTS A 2D CANVASAND DYNAMIC DRAWING,” filed on Dec. 10, 2010. All of the foregoingapplications are hereby incorporated by reference in their entirety forall purposes.

FIELD

The subject technology relates in general to communications andprocessing, and for example to, methods and systems for facilitatingaccessing and/or controlling a remote desktop of a remote machine inreal time by a web browser of a client device via HTTP.

BACKGROUND

Traditional implementations of remote desktop protocols enable a remoteuser to access his or her desktop or applications from a client deviceover a LAN or WAN network topology to a server.

The traditional approach is for a software infrastructure vendor tosupport a specific public or proprietary remote desktop displayprotocol, which is native or installed on a server. To access the serverusing a remote desktop protocol, a client typically needs to have aprotocol-specific software application that executes on the user'sspecific operating system and platform or plug-in for a specificbrowser.

Conventional approaches are thus cumbersome to users. Accordingly, thereis a need for systems and methods that facilitate user interaction withan application running on a server from a client device and provide animproved experience for users at the client device.

SUMMARY

Aspects of the present disclosure may provide utilizing a server thatmay provide one or more web browsers' access to one or more remotemachines through a remote desktop client. A server may include a moduleor functionality, e.g., machine-readable instructions, to receiverequests from a web browser. A sever may include a module orfunctionality, e.g., machine-readable instructions, to translate userinput requests received (as HTTP requests) from a web browser intocorresponding input calls in a protocol/language compatible with one ormore remote desktop clients for accessing one or more remote machines.In one aspect, a server can receive information/data from, e.g., drawingcommands, from one or more remote machines via the one or more remotedesktop clients and translate the information/data into aprotocol/language compatible with the associated web browser(s). Aserver can include storage/memory functionality for holding an image,e.g., a Java or memory bitmap, which can be modified in response todrawing commands received from the remote desktop server. A server mayreceive from the remote desktop server and store coordinatescorresponding to the respective drawing commands. In certain aspects, aserver may comprise a web server, e.g., a windows web server.

In some applications, a server may facilitate/accelerate rendering animage of the related remote desktop(s) at the related web browser bycreating and modifying an image of the portion of the remote desktopthat is affected by the user's input at the user device.

Aspects of the present disclosure may provide a web server withasynchronous request handling functionality to handle requests from aweb browser.

Aspects of the present disclosure may provide a server with long pollingfunctionality to handle requests from a web browser.

Aspects of the present disclosure may include or provide a web browserhaving a canvas or 2D rendering functionality.

It is understood that other configurations of the subject technologywill become readily apparent to those skilled in the art from thefollowing detailed description, wherein various configurations of thesubject technology are shown and described by way of illustration. Aswill be realized, the subject technology is capable of other anddifferent configurations and its several details are capable ofmodification in various other respects, all without departing from thescope of the subject technology. Accordingly, the drawings and detaileddescription are to be regarded as illustrative in nature and not asrestrictive.

BRIEF DESCRIPTION OF THE DRAWINGS

FIG. 1 illustrates an example of a display on a client device during aremote access session with a remote machine via a server.

FIG. 2A is a diagram of an example of one or more client devices eachwith a web browser connected to one or more remote machines via multiplenetworks and a server.

FIG. 2B is a diagram of an example of one or more client devices eachwith a web browser connected to one or more remote machines through anetwork and a server.

FIG. 3A is a conceptual block diagram of an example of a transcodingserver according to certain aspects of the present disclosure as used inconjunction with a web browser and a remote machine.

FIG. 3B is a conceptual block diagram of an example of a transcodingserver according to certain alternate aspects of the present disclosureas used in conjunction with a web browser and a remote machine.

FIG. 4A is a conceptual block diagram of an example of a transcodingserver.

FIG. 4B is a conceptual block diagram of an example of an alternatetranscoding server.

FIG. 4C is a conceptual block diagram of a remote desktop of a remotemachine.

FIG. 5 is a conceptual block diagram of an example of a web browser asused in conjunction with a transcoding server and a remote machine.

FIG. 6 is a conceptual block diagram of an example of a transcodingserver according to certain aspects of the present disclosure.

FIG. 7 is an example of a sequence diagram of the interactions between atranscoding server as used in conjunction with a web browser and aremote machine.

FIG. 8A is a conceptual block diagram of an example of a web serveraccording to certain aspects of the present disclosure as used inconjunction with a client device and a remote machine.

FIG. 8B is a conceptual block diagram of an example of a web server, abrowser and a remote machine.

FIG. 9 is a conceptual block diagram of an example of a web server.

FIG. 10 is a conceptual block diagram of an example of a web browser asused in conjunction with a web server and a remote machine.

FIG. 11 is a conceptual block diagram of an example of a remote desktopclient wrapper.

FIG. 12 is a block diagram that illustrates an exemplary computingsystem.

FIG. 13A illustrates a block diagram representing an example of a methodof accessing and controlling a remote desktop from a user device.

FIG. 13B illustrates a continuation of the FIG. 13A.

FIG. 14A is a block diagram representing an example of method offacilitating accessing and controlling a remote desktop of a remotemachine in real time by a web browser of a client device via a hypertexttransfer protocol (HTTP) utilizing a transcoding server.

FIG. 14B is a block diagram representing code of an example of amachine-readable storage medium encoded with instructions executable bya processing system to perform a method of facilitating accessing andcontrolling a remote desktop of a remote machine in real time by a webbrowser of a client device via a hypertext transfer protocol (HTTP)utilizing a transcoding server.

FIG. 14C is a block diagram module of an example of an apparatus forfacilitating accessing and controlling a remote desktop of a remotemachine in real time by a web browser of a client device via a hypertexttransfer protocol (HTTP) utilizing a transcoding server.

FIG. 15A is a block diagram representing an example of a method offacilitating accessing and controlling a remote desktop of a remotemachine in real time by a web browser of a client device via a hypertexttransfer protocol (HTTP) utilizing a transcoding server.

FIG. 15B is a block diagram representing code of an example of amachine-readable storage medium encoded with instructions executable bya processing system to perform a method of facilitating accessing andcontrolling a remote desktop of a remote machine in real time by a webbrowser of a client device via a hypertext transfer protocol (HTTP)utilizing a transcoding server.

FIG. 15C is a block diagram module of an example of an apparatus forfacilitating accessing and controlling a remote desktop of a remotemachine in real time by a web browser of a client device via a hypertexttransfer protocol (HTTP) utilizing a transcoding server.

FIG. 16A is a block diagram representing an example of a method offacilitating conducting a remote desktop session between a web browserof a client device and a remote machine via a transcoding server in realtime and utilizing hypertext markup language that supports atwo-dimensional (2D) canvas and dynamic drawing.

FIG. 16B is a block diagram representing code of an example of amachine-readable storage medium encoded with instructions executable bya processing system to perform a method of facilitating conducting aremote desktop session between a web browser of a client device and aremote machine via a transcoding server in real time and utilizinghypertext markup language that supports a two-dimensional (2D) canvasand dynamic drawing.

FIG. 16C is a block diagram of module of an example of an apparatus forfacilitating conducting a remote desktop session between a web browserof a client device and a remote machine via a transcoding server in realtime and utilizing hypertext markup language that supports atwo-dimensional (2D) canvas and dynamic drawing.

FIG. 17A is a block diagram representing an example of a method offacilitating a remote desktop session between a web browser of a clientdevice and a remote machine through a transcoding server, utilizinghypertext transfer protocol (HTTP) headers of HTTP for remote desktopsession drawing.

FIG. 17B is a block diagram representing code of an example of amachine-readable storage medium encoded with instructions executable bya processing system to perform a method of facilitating a remote desktopsession between a web browser of a client device and a remote machinethrough a transcoding server, utilizing hypertext transfer protocol(HTTP) headers of HTTP for remote desktop session drawing.

FIG. 17C is a block diagram of module of an example of an apparatus forfacilitating a remote desktop session between a web browser of a clientdevice and a remote machine through a transcoding server, utilizinghypertext transfer protocol (HTTP) headers of HTTP for remote desktopsession drawing.

FIG. 18A is a block diagram representing an example of a method offacilitating a remote desktop session between a web browser of a clientdevice and a remote desktop server at a remote machine through atranscoding server, utilizing an adapter at the transcoding server.

FIG. 18B is a block diagram representing code of an example of amachine-readable storage medium encoded with instructions executable bya processing system to perform a method of facilitating a remote desktopsession between a web browser of a client device and a remote desktopserver at a remote machine through a transcoding server, utilizing anadapter at the transcoding server.

FIG. 18C is a block diagram of module of an example of an apparatus forfacilitating a remote desktop session between a web browser of a clientdevice and a remote desktop server at a remote machine through atranscoding server, utilizing an adapter at the transcoding server.

FIG. 19A is a block diagram representing code of an example of amachine-readable storage medium encoded with instructions executable bya processing system to perform a method of facilitating accessing andcontrolling a remote desktop of a remote machine in real time from a webbrowser of a client device via a hypertext transfer protocol (HTTP)handler and a remote desktop client adapter for a transcoding server.

FIGS. 19B-19C are block diagrams representing an example of a method offacilitating accessing and controlling a remote desktop of a remotemachine in real time from a web browser of a client device via ahypertext transfer protocol (HTTP) handler and a remote desktop clientadapter for a transcoding server; FIG. 19C is a continuation of FIG.19B.

FIGS. 19D-19E are block diagrams of modules of an example of anapparatus for facilitating accessing and controlling a remote desktop ofa remote machine in real time from a web browser of a client device viaa hypertext transfer protocol (HTTP) handler and a remote desktop clientadapter for a transcoding server; FIG. 19E is a continuation of FIG.19D.

FIG. 20A is a block diagram of an example of a method of facilitatingaccessing and controlling a remote desktop of a remote machine in realtime by a web browser of a client device via a hypertext transferprotocol (HTTP).

FIG. 20B is a block diagram of an example of a machine-readable storagemedium comprising stored instructions executable by one or moreprocessors to perform one or more operations.

FIG. 20C is a block diagram of an example of an apparatus forfacilitating accessing and controlling a remote desktop of a remotemachine in real time by a web browser of a client device via a hypertexttransfer protocol (HTTP).

FIG. 21A is a block diagram of an example of a method of facilitatingconducting a remote desktop session between a web browser of a clientdevice and a remote machine via a web server in real time.

FIG. 21B is a block diagram of an example of a machine-readable storagemedium comprising stored instructions executable by one or moreprocessors to perform one or more operations.

FIG. 21C is a block diagram of an example of an apparatus forfacilitating conducting a remote desktop session between a web browserof a client device and a remote machine via a web server in real time.

FIG. 22A is a block diagram of an example of a method of facilitating aremote desktop session, utilizing hypertext transfer protocol (HTTP)headers for remote desktop session drawing.

FIG. 22B is a block diagram of an example of a machine-readable storagemedium comprising stored instructions executable by one or moreprocessors to perform one or more operations.

FIG. 22C is a block diagram of an example of an apparatus forfacilitating a remote desktop session, utilizing hypertext transferprotocol (HTTP) headers.

FIG. 23A is a block diagram of an example of a method of facilitating aremote desktop session between a web browser and a remote desktopserver.

FIG. 23B is a block diagram of an example of a machine-readable storagemedium comprising stored instructions executable by one or moreprocessors to perform one or more operations.

FIG. 23C is a block diagram of an example of an apparatus forfacilitating a remote desktop session for a web browser and a remotedesktop server.

While certain embodiments are depicted in the drawings, one skilled inthe art will appreciate that the embodiments depicted are illustrativeand that variations of those shown, as well as other embodimentsdescribed herein, may be envisioned and practiced within the scope ofthe present disclosure.

DETAILED DESCRIPTION

The detailed description set forth below is intended as a description ofvarious configurations of the subject technology and is not intended torepresent the only configurations in which the subject technology may bepracticed. The appended drawings are incorporated herein and constitutea part of the detailed description. The detailed description includesspecific details for the purpose of providing a thorough understandingof the subject technology. However, it will be apparent to those skilledin the art that the subject technology may be practiced without thesespecific details. In some instances, well-known structures andcomponents are shown in block diagram form in order to avoid obscuringthe concepts of the subject technology. Like components are labeled withidentical element numbers for ease of understanding.

Prior approaches using hypertext markup language (HTML) have requiredthe use of browser specific plug-ins as a method to create a better userexperience by accelerating video and audio for example. Browser plug-insdo not achieve HTML browser independence across the competinginfrastructure vendors.

Infrastructure vendors are competing heavily in the “proprietary” remotedesktop protocols and are focused on modest improvements over time toimprove the user experience. The user experience while using a remotedesktop protocol is a primary differentiator between the infrastructurevendors. There are, however, no known efforts to enable the user andcustomer to have a single unified method to have remote access to theirhome, work or mobile Windows, Mac or Linux environments.

In some aspects, embodiments of the subject technology can eliminate orreduce the need for the installation of “proprietary” protocols on auser's device (or a client device) for accessing a remote machine duringa remote desktop session. A remote machine, or remotely accessedmachine, may include a remote desktop server. By enabling the user touse a single method to access their remote desktops with an “openstandard” technology like HTML5, the requirements placed on a user'sdevice, e.g., a smart phone, can be greatly reduced.

In some aspects, embodiments of the subject technology can reduce oreliminate the need for installation of client software and/or a browserplug-in on the user's client device.

In some aspects, embodiments of the subject technology can achieve arobust user experience that one would expect from a local executingapplication on a personal computing desktop.

In some aspects, embodiments of the subject technology canadvantageously utilize 2D rendering capability of suitable web browsersand replace proprietary rendering protocols with the 2D drawingcapabilities of a browser running on the user's client device.

In some aspects, embodiments of the subject technology can allow a userto easily access one or multiple open remote desktops across multipleservers and maintain their exact state from information stored inreal-time on an associated web server having protocol translationfunctionality that can function as a common interface between push-typeprotocol employed by most remote desktop protocols and the pull-typeprotocol employed by HTTP, also referred to herein as a “transcodingserver,” which the user may access via a web browser having 2D renderingcapability. Doing so can allow the user to render a remote display of acurrently open session in a few seconds. Thus, as the user switches fromclient device to client device, the exact state of a particular remotedesktop is preserved and is re-rendered based on the capabilities ofeach display device. Effectively the user's multiple desktops can beconfigured to be always on and ready to be displayed on demand. Theuser's remote desktops can be configured to be accessed at any time andfrom any location.

Prior to the subject technology as described herein, because HTTP (apull-type protocol) and most remote desktop display protocols (push-typeprotocols) are incompatible, it has generally been recognized by thoseskilled in the art that proprietary software and/or downloadableplug-ins were necessary for a web browser in order to have a remotedesktop session using an HTTP on one end and a remote desktop displayprotocol on the other end.

In some aspects, embodiments of the subject technology can enable a userof any endpoint device with a web browser having 2D renderingcapabilities, e.g., an HTML5 browser, to display one or more remotedesktop sessions in a single or multiple browser windows. Embodiments ofthe present disclosure can accordingly eliminate the need forinstallation on a client device of proprietary or open source clientapplications for remote desktop access. Embodiments of the presentdisclosure can establish and maintain simultaneous remote desktopconnections to a single or multiple Windows, Mac OS, or Linux serversand enable all remote sessions to be displayed and interactedindependently within the user's browser application. Embodiments of thepresent disclosure can be rendered in real-time and be displayed as aweb page on the remote client, e.g., a user device such as a smartphone. All user mouse, touch and keyboard input may be captured withinthe browser window and converted into the input format needed by theremote desktop machine, which may utilize common desktop protocols,e.g., independent computing architecture (ICA) by Citrix Systems, remotedesktop protocol (RDP) by Microsoft, and PC-over-IP (PCoIP) by Taradici,etc. Embodiments of the present disclosure can maintain open connectionsto the host servers at all times allowing single or multiple endpointdevices to be interactively connected and disconnected to the remotesessions instantly. Remote sessions never need to be disconnected fromthe servers as embodiments of the present disclosure can maintain activeconnections to the desktop. Active sessions can be resized and adjustedfor best display and user experience to utilize the full capability ofthe user's access device.

In some aspects, embodiments of the subject technology can reduce oreliminate the requirement for a local client application, e.g., a webbrowser, to support a vendor specific remote desktop protocol.Embodiments of the present disclosure can allow a browser with 2Drendering capability to run on any hardware, any operating system andany form-factor for the user to access her or his remote desktop orapplications. A user can simply point the browser, e.g., an HTML5compatible browser such as Google Chrome, to a respective predetermineduniform resource locator (URL) for one or more remote machinesconfigured as remote desktop application servers. The browser can accessa transcoding server that can translate or transcode between theprotocol used for the browser and the protocol used for the remotemachine(s). The transcoding server can be public/private cloud-based,and the access to the transcoding server can utilize HTTPS protocol. Thetranscoding server can authenticate the connection between the remotemachine and a remote desktop client, render the desktop of the remotemachine(s) in real-time, and transmit that rendering to the browser viaHTTP so that the browser can display the rendering in HTML5 canvas.Accordingly, embodiments of the present disclosure can function as, orprovide, a virtual desktop and application server that connects to oneor multiple remote desktop servers, e.g., Citrix XenDesktop with ICA,Microsoft Windows Client and Server with RDP, and VMware View withPCoIP, etc.

Prior to HTML5 supporting canvas 2D real-time drawing primitives, HTMLalone was not seen as a practical rendering technology due to the staticnature of the rendered objects. As used according to the presentdisclosure, HTML5, and similar browser languages, can enable a new userrobust experience due to the ability of rendering in 2D, 3D andmultimedia video/audio objects on the client platform; HTML5 can also,in some cases, utilize hardware acceleration for such rendering. Aspectsof the subject technology can facilitate enhanced user experience forremote desktop sessions by providing platform-independent techniquesthat allow real time access to remote machines and do not require theclient device to have proprietary software or plug-ins. Moreover, theremote machines are not required to have HTTP or HTML compatibility forthe remote desktop sessions.

As described herein, aspects of the subject technology can reduce orminimize traffic between a browser and a transcoding server accordingthe present disclosure. The reduction in traffic can be facilitated byvarious aspects of the subject technology including, but not limited to,implementation of long polling for drawing requests received from a webbrowser, providing to a web browser only image portions from a remotedesktop that have changed and need to be updated (rather than the imageof the entire remote desktop), and placing coordinates for updated imageportion(s) into a header of a single HTTP transmission response. Thereduction of traffic to and from a browser can facilitate a remotedesktop session that provides a real time user experience, e.g., a userexperience with few if any perceivable delays in the round trip time(delay) for user inputs to travel from a client device, to the remotemachine, and a corresponding update of the remote desktop showing up onthe client device. In exemplary embodiments, such delay may be below,e.g., 100 milliseconds, so that most users will not perceive any delayat all.

FIG. 1 shows an example of a display at a client device with a largescreen during a remote desktop session with a remote machine via aserver. The display 100 includes the local desktop 110 of the clientdevice, a web browser window 120 that in turn includes a remote viewwindow 130 showing an image 132 of a remote desktop of the remotemachine, which image includes, in this example, folder and shortcuticons in addition to a remote web browser application 140 running on theremote machine. The remote view window 130 may have a height H and awidth W, and remote view window 130 may be resized (e.g., to be madelarger to cover the entire local desktop 110 or be made smaller). Theimage 132 of the remote desktop 130 and remote application 140 are basedon display output data of the remote desktop 130 and remote application140 from the remote machine transmitted to the client device via theserver.

As was noted previously, aspects of the present disclosure can includeor utilize a HTML5 compatible web browser having a 2D canvas, e.g., 530in FIG. 5. The HTML5 specification provides for a 2D canvas, whichallows for dynamic, real-time, scriptable rendering of 2D shapes andbitmap images. In one aspect, being scriptable can mean or includereference to utilizing JavaScript for rendering a 2D image. The canvasconsists of a drawable region defined in HTML code with height and widthattributes. JavaScript code may access the area through a full set ofdrawing functions similar to other common 2D APIs, thus allowing fordynamically generated graphics.

As shown in FIGS. 2A-2B, an overall architecture of exemplaryembodiments of the present disclosure may contain three parts: a clientdevice (or a user's device) containing a browser, e.g., an HTML5compatible browser; a server, e.g., a Java web sever, that is configuredto function as a transcoding server, translating between differentprotocols; and a remote machine to which the client device isconnecting. As shown and described for FIGS. 3A-3B, a transcoding servermay include three main sections: a remote desktop client wrapper oradapter, a drawing commands queue, and a web application container. Theweb application container can include various elements or components,e.g., a hypertext transfer protocol (HTTP) handler, a long pollinghandler, and a drawing requests queue, as shown and described withreference to FIGS. 2A-11. In an alternate embodiment, a drawing commandsqueue may be a part of a web application container.

FIG. 2A is a diagram of an example of client devices such as thosehaving a web browser connected to multiple remote machines throughmultiple networks and a server. The system 200 may include one or moreremote client devices 202 in communication with one or more remotemachines 204 via a server computing device 208 (server) via one or morenetworks 206. In one aspect, the server 208 is configured to allowremote sessions (e.g., remote desktop sessions) wherein users at clientdevices 202 can access applications and files on one or more remotemachines 204 by logging onto the server 208 from a client device 202over one or more networks 206.

FIG. 2B is a diagram of an alternate example of one or more clientdevices connected to one or more remote machines through a network and aserver. As shown in the drawing, the server 208 associated with theremote machines 204 can be connected to network 206, for example, in ahub and spoke configuration.

By way of illustration and not limitation, in one aspect of thedisclosure, stated from a perspective of a remote machine side (treatinga remote machine 204 as a local device and treating a client device 202as a remote device), an application is executed (or runs) at a localdevice 204. While a client device 202 may receive and display a view ofthe application on a display local to the client device 202, the clientdevice 202 does not execute (or run) the application at the clientdevice 202. Stated in another way from a perspective of the client side(treating a remote machine 204 as a remote device and treating a clientdevice 202 as a local device), a remote application is executed (orruns) at a remote machine 204, and while a client device 202 may receiveand display a view of the remote application, the client device 202 doesnot execute (or run) the remote application locally at the clientdevice.

By way of illustration and not limitation, a client device 202 canrepresent a computer, a mobile phone, a laptop computer, a thin clientdevice, a personal digital assistant (PDA), a portable computing device,or a suitable device with a processor. In one example, a client device202 may be a smartphone (e.g., iPhone, Android phone, Blackberry, etc.).In certain configurations, a client device 202 can represent an audioplayer, a game console, a camera, a camcorder, an audio device, a videodevice, a multimedia device, or a device capable of supporting aconnection to a remote server. In a preferred example, a client device202 is mobile. In another example, a client device 202 can bestationary. According to one aspect of the disclosure, a client device202 may be a device having at least a processor and memory, where thetotal amount of memory of the client device 202 could be less than thetotal amount of memory in a remote machine 204 or a server 208. In oneexample, a client device 202 does not have a hard disk. In one aspect, aclient device 202 has a display smaller than a display supported by aremote machine 204 or a server 208. In one aspect, a client device mayinclude one or more client devices.

In one preferred aspect, a server 208 or a remote machine 204 mayrepresent a computer. In another aspect, a server 208 or a remotemachine 204 may represent a laptop computer, a computing device, avirtual machine (e.g., VMware® Virtual Machine), a desktop session(e.g., Microsoft Terminal Server), a published application (e.g.,Microsoft Terminal Server) or a suitable device with a processor. In onepreferred example, a server 208 or a remote machine 204 is stationary.In another aspect, a server 208 or a remote machine 204 can be mobile.In certain configurations, a server 208 or a remote machine 204 may beany device that can represent a client device. In one aspect, a server208 may include one or more servers.

In one example, a first device is remote to a second device when thefirst device is not directly connected to the second device. In oneexample, a first remote device may be connected to a second device overa communication network such as a Local Area Network (LAN), a Wide AreaNetwork (WAN), and/or other network.

When a client device 202, a server 208 and a remote machine 204 areremote with respect to one another, a client device 202 may connect to aserver 208 over a network 206, and a remote machine may connect to aserver 208 over a network 206 via a network connection, for example, amodem connection, a LAN connection including the Ethernet or a broadbandWAN connection including DSL, Cable, T1, T3, Fiber Optics, Wi-Fi, or amobile network connection including GSM, GPRS, 3G, WiMax or othernetwork connection. A network 206 can be a LAN network, a WAN network, awireless network, the Internet, an intranet or other network. A network206 may include one or more routers for routing data between clientdevices and/or servers. A remote device (e.g., client device, server) ona network may be addressed by a corresponding network address, such as,but not limited to, an Internet protocol (IP) address, an Internet name,a Windows Internet name service (WINS) name, a domain name or othersystem name. These illustrate some examples as to how one device may beremote to another device. However, the subject technology is not limitedto these examples.

According to certain aspects of the present disclosure, the terms“server” and “remote server” are generally used synonymously in relationto a client device, and the word “remote” may indicate that a server isin communication with other device(s), for example, over a networkconnection(s).

According to certain aspects of the present disclosure, the terms“client device” and “remote client device” are generally usedsynonymously in relation to a server and/or a remote machine, and theword “remote” may indicate that a client device is in communication witha server(s) and/or a remote machine(s), for example, over a networkconnection(s).

In one aspect of the disclosure, a “client device” may be sometimesreferred to as a client, a user device, a user's device or vice versa.Similarly, a “server” may be sometimes referred to as a server device orvice versa. A server is sometimes referred to as a web server. Exemplaryembodiments of the present disclosure include use of web servers withtranscoding functionality, e.g., transcoding servers.

In one aspect, the terms “local” and “remote” are relative terms, and aclient device may be referred to as a local client device or a remoteclient device, depending on whether a client device is described from aclient side or from a server side or a remote machine's side,respectively. A remote machine may be referred to as a local machine ora remote machine, depending on whether a remote machine is describedfrom the remote machine's side or from a client or server side.Similarly, a server may be referred to as a local server or a remoteserver, depending on whether a server is described from a server side orfrom a client side or a remote machine's side, respectively.Furthermore, an application running on a remote machine may be referredto as a local application, if described from a remote machine's side,and may be referred to as a remote application, if described from aclient side or a server side.

In one aspect, devices placed on a client side (e.g., devices connecteddirectly to a client device(s) or to one another using wires or a shortrange wireless connection (e.g., Bluetooth)) may be referred to as localdevices with respect to a client device and remote devices with respectto a server. Similarly, devices placed on a server side (e.g., devicesconnected directly to a server(s) or to one another using wires or ashort range wireless connection (e.g., Bluetooth)) may be referred to aslocal devices with respect to a server and remote devices with respectto a client device.

FIG. 3A is an example of a conceptual block diagram of a system 300Aincluding a transcoding server 330 according to certain aspects of thepresent disclosure as used in conjunction with a web browser 312 and aremote machine 320. A client device 310, such as a smart phone or laptopcomputer, is depicted along with a web browser having (i) a canvas 316,e.g., the web browser 312 supports a 2D rendering canvas, and (ii) ascript client 314, e.g., a JavaScript client in a preferred embodiment.

Transcoding server 330 can include three main functional blocks ormodules: a web application container 340, a remote desktop clientadapter 350, and a drawing commands queue 360 that includes a sharedmemory. The web application container can include an HTTP handler 344for handling HTTP requests from the web browser and HTTP responses tothe web browser. In some embodiments, the web application container 340may also include a long polling handler module 342, as shown. The remotedesktop client adapter 350 can be configured to interface with a remotedesktop client 352, e.g., from a third-party vendor, for communicationwith remote machine 320, which may include a remote desktop server 322,as shown. Embodiments of a transcoding server 330 can be configured toprovide an application framework for hosting one or more webapplications and/or function as a Java web application container thatcan run Servlets. In some aspects, a remote desktop client adapter 350may be referred to as a remote desktop client common interface.

The remote desktop client 352 may function to communicate with theremote desktop server 322 of the remote machine 320 using a remotedesktop display protocol. The remote desktop client sends a user's inputto the remote machine, and receives drawing data from the remote machinevia its specific remote desktop display protocol.

In one aspect, a remote desktop server 322 may refer to a softwareinstalled on a remote machine 320, and a remote desktop server 322 mayallow applications, particularly those including graphical applications,which run on the remote machine 320, to be displayed at a machine thatis separate and distinct from the remote machine 320 (e.g., clientdevices 310). Remote desktop server 322 may allow drawing commandsrepresenting an image of a desktop of the remote machine to betransmitted to the separate machine (e.g., transcoding server 330). Inone aspect, remote desktop client 352 may refer to software installed onthe machine that is separate and distinct from the remote machine 320(e.g., transcoding server 330). Remote desktop client 352 may sendrequests to remote desktop server 322 via a remote desktop displayprotocol and in response receive the drawing commands representing theimage of the desktop of the remote machine via the remote desktopdisplay protocol.

In operation, the web application container 340 can function to receiveand respond to the JavaScript client's HTTP requests. In oneimplementation, a Servlet container can be used but the same result canbe achieved using any similar web application framework, such asRestlet, for example. The remote desktop client adapter 350 may providea common interface between any remote desktop client and the drawingcommands queue/the web application container.

The remote desktop client adapter 350 may receive a user's inputinformation, data, or commands (e.g., mouse, keyboard, and touch events)from HTTP handler 344 and translate the input information/commands intorespective remote desktop input calls, which are sometimes referred toas remote desktop input commands. The remote desktop client adapter 350may also translate the drawing commands of the remote desktop, e.g., GDIdrawing commands, received from remote desktop server 322 (via a remotedesktop display protocol and remote desktop client 352) into Javagraphics application programming interface (API) commands. Java graphicsAPI commands in themselves are not suitable for the web browser; butthey are an intermediary step towards achieving browser compatibility.The remote desktop client adapter may then execute those Java graphicsAPI commands, i.e., drawing into an off-screen Java bitmap, which can bestored in the drawing commands queue 360. In an alternative embodiment,the drawing commands queue (e.g., 360 of FIG. 3A or 440 of FIG. 4A or4B) may receive the Java graphics API commands from the remote desktopclient adapter and execute the Java graphics API commands to draw intoan off-screen Java bitmap. The HTTP handler (e.g., 344 of FIG. 3A or 422of FIG. 4A) or image conversion module (e.g., 346 of FIG. 3B or 428 ofFIG. 4B) can create an image, such as a joint photographic experts group(JPEG) image, or a portable network graphics (PNG) image, or a bit imagefile (BMP) image or any other image file in an image format suitable forweb browsers, from the Java off-screen bitmap; and the resulting imageis suitable for the browser 312. In one aspect, a JPEG image may bereferred to as a JPEG image file, and a PNG image may be referred to asa PNG image file, and BMP image may be referred to as a BMP image file.In one aspect, as the image (e.g., a JPEG or PNG image) is created inreal time, when it is created, it is simply sent to the web browserwithout being stored at the transcoding server.

In one aspect, the drawing commands queue 360 can serve two purposes:holding or storing the off-screen Java bitmap onto which drawingcommands are executed; and, holding or serving as a drawing coordinatespool, e.g., a queue of coordinates for drawing commands. The drawingcommands queue 360 can, for example, store GDI drawing commandcoordinates received from the remote desktop client adapter. In theevent there are new drawing coordinates in the queue, the drawingcommands queue 360 may send a notification to long polling handlermodule 342 (e.g., can be sent so that any pending request in the drawingrequests queue can be served). The drawing requests queue (e.g., 426 inFIG. 4A or 4B) can function to store incoming long polling drawingrequests from the client and respond to them when there are pendingdrawing commands from the drawing commands queue.

FIG. 3B is a conceptual block diagram of a system 300B including atranscoding server 330 according to certain alternate aspects of thepresent disclosure as used in conjunction with a web browser and aremote machine. System 300B is similar to system 300A of FIG. 3A withsimilar reference numbers, except that the remote desktop client 352 isshown as a separate module/functional block relative to the remotedesktop client 350 adapter, and an image conversion module 346 is shownas a separate module/functional block relative to HTTP handler 344.

FIG. 4A is a detailed conceptual block diagram of a transcoding server400A according to certain aspects of the present disclosure. In oneaspect, transcoding server 400A may preferably be a Java transcodingserver. Transcoding server 400A may include a web application container420 (e.g., a web application container such as a Servlet container), aremote desktop client adapter 430, and a drawing commands queue 440. Theremote desktop client adapter 430 can be configured to interface withany suitable remote desktop client 432 for communication with a remotemachine (e.g., 320 in FIG. 3A or 3B), which may be configured to includea remote desktop server (e.g., 322 in FIG. 3A or 3B). 432. The drawingscommands queue 440 can function as memory or storage that is accessibleby both the web application container 420 and the remote desktop clientadapter 430. The web application container 420 may include an HTTPhandler 422 for handling HTTP requests from a web browser and sendingHTTP responses back to the client/web browser (e.g., 312 in FIG. 3A or3B). In one aspect, the HTTP handler 422 is a standard HTTP handler. Thedrawing commands queue 440 can serve two purposes: holding or storing anoff-screen image, e.g., Java bitmap 444, onto which drawing commands areexecuted; and, serving as a drawing coordinates pool 442, e.g., a queueof coordinates for drawing commands. The coordinates can be those ofregions or areas of an image of the remote desktop that need to beredrawn at the client device to reflect changes on the remote desktop.The areas or regions are sometimes referred to as “dirty” regions, asindicated in FIGS. 4A-4B.

In some embodiments, the web application container may include a longpolling handler module, which includes a long polling handler 424 and adrawing requests queue 426. The long polling handler 424 can operatewith drawing requests queue 426. The drawing requests queue 426 canfunction to store incoming long polling drawing requests received fromthe client (e.g., HTML5 compatible web browser such as web browser 312in FIG. 3A or 3B) via the long polling handler 424 and respond to themwhen there are pending drawing commands from the drawing commands queue440. In one aspect, pending drawing commands may include coordinates forthe image in dirty coordinates pool 442 and/or an image (e.g., Javabitmap 444) in the drawing commands queue 440.

In operation, the web application container 420 may receive and respondto HTTP requests from a web browser on a user device (e.g., 202 in FIG.2A or 310 in FIG. 3A or 3B). The web application container 420 mayprovide user input requests to the remote desktop client adapter 430,which provides a common interface between the web application container420 and the remote desktop client 432. The remote desktop client adapter430 may translate user input information (e.g., mouse, keyboard, andtouch events) into respective remote desktop input calls for the remotedesktop client 432. The remote desktop client adapter 430 may translatethe drawing commands (e.g., GDI drawing commands) of an image of aremote desktop received from a remote machine (e.g., 204 in FIG. 2A or2B or 320 in FIG. 3A or 3B) via a remote desktop display protocol andthe remote desktop client 432, into Java graphics drawing commands.

After receiving and translating the drawing commands from the remotedesktop client 432, the remote desktop client adapter 430 may draw intoan off-screen Java bitmap stored in the drawings commands queue 440 asshown. More specifically, the remote desktop client adapter 430 mayprovide as an image the portion, also referred to as the “dirtyregion(s)” of the remote desktop affected by the user's input from theuser device. Along with the drawing commands, the remote desktop clientadapter 430 may extract, from the drawing command(s), coordinates of thedirty region(s) from the remote desktop client and provide the drawingcoordinates to the drawing commands queue 440 (e.g., dirty coordinatespool 442), as indicated. As explained later, the coordinates can beplaced into an HTTP header section (e.g., by HTTP handler 422) to senddirty region coordinates (e.g., as cookie), along with an image, to abrowser (e.g., 312 in FIG. 3A or 3B) for display.

In the event there are new drawing coordinates in the drawing commandsqueue 440 (e.g., in the dirty coordinates pool 442), drawing commandsqueue 440 may send a notification to the drawing requests queue 426 sothat any pending request in the drawing requests queue 426 can beforwarded to the HTTP handler 422 for serving. The HTTP handler 422 maythen reach to the drawing commands queue 440 (e.g., dirty coordinatespool 442), and obtain the dirty coordinates from the dirty coordinatespool 442. The HTTP handler 422 may then place the dirty coordinates intoan HTTP header section (known as a cookie). In addition, according tothose coordinates, the HTTP handler 422 may obtain an image portion fromthe Java off-screen bitmap 444. The HTTP handler 422 may then send theimage (e.g., as a JPEG image or a PNG image) as well as the coordinates,which are stored in an HTTP response header section, to the web browser(e.g., 312 in FIG. 3A or 3B) for display at the user device's display(e.g., 313 in FIG. 3A or 3B). As a result, the transcoding server 400Acan facilitate a remote desktop session between a user device (e.g., 202in FIG. 2A or 2B or 310 in FIG. 3A or 3B) and a remote machine (e.g.,204 in FIG. 2A or 3B or 320 in FIG. 3A or 3B) without the need for theuser device to utilize proprietary plug-ins or protocols.

In one aspect, an image (or an image file) and drawing coordinates sentby a transcoding server to a web browser may be considered as an exampleof web browser drawing updates. In a preferred aspect, web browserdrawing updates are compatible with the web browser so that the webbrowser can recognize the web browser drawing updates and process themto display an image at the appropriate location on a display. Webbrowser drawing updates may be implemented with other types of drawingdata and commands.

In one aspect, an HTTP protocol (the requests of which may be handledwith an HTTP handler and a long polling handler) between a client deviceand a transcoding server is a pull protocol, and a remote desktopdisplay protocol utilized between a transcoding server and a remotemachine is a push protocol.

Long polling is a modification of the traditional polling technique andcan allow emulation of an information push from a server to a client.With long polling, the client requests information from the server in asimilar way to a normal poll. In the event the server does not have anyinformation available for the client, instead of sending an emptyresponse, the server holds the request and waits for some information tobe available. Once the information becomes available (or after asuitable timeout), a complete response is sent to the client. The clientcan then immediately re-request information from the server, allowingthe server to almost always have an available waiting request that itcan use to deliver data in response to an event.

FIG. 4B is a conceptual block diagram of an alternate transcoding server400B according to certain aspects of the present disclosure. Transcodingserver 400B is similar to transcoding server 400A of FIG. 4A withsimilar drawing numbers, except a separate image conversion orgeneration block 428 is shown. Block 428 may function to take the Javabitmap 444 from the drawing commands queue 440 and convert it to animage file, e.g., JPEG, BMP, PNG, or the like, and provide the imagefile to the HTTP handler 422 so that the HTTP handler 422 can send theimage file along with the associated coordinates to the web browser(e.g., 312 in FIG. 3A or 3B). An additional difference is that theremote desktop client 432 is shown as a separate module/functional blockrelative to the remote desktop client adapter 430.

FIG. 4C is a conceptual block diagram of an image 400C of a remotedesktop of a remote machine. The image 400C can include the entiredesktop of the remote machine. The image may be provided by a remotedesktop client, e.g., 432 in FIG. 4A or 4B, as part of a remote desktopdrawing command for a remote desktop session with a remote machine. Asuitable remote desktop display protocol may be used for the remotedesktop session. Examples can include, but are not limited to, theMicrosoft® Remote Desktop Protocol (RDP), personal computer overinternet protocol (PCoIP), remote FX (RFX) protocol, remote framebuffer(RFB) protocol, Citrix independent computing architecture (ICA), NXprotocol, and/or other suitable remote desktop display protocols. In oneexample, it may be advantageous to use the RDP (which is a push-typeprotocol) as it is widely used. As shown, image 400C can include regionsthat have changed, e.g., image portion 450 and image portion 452,relative to a prior instance of the image of the desktop. Both imageportions 450 and 452 can be provided, along with their coordinates, in adrawing command from an associated remote desktop server to anassociated remote desktop client (to be processed and translated andthen to be sent to a web browser by a transcoding server) for a remotedesktop session. Alternatively, image portion 450 may be provided in adrawing command with its coordinates, and then image portion 452 may beprovided in another drawing command with its coordinates separately(e.g., sequentially). Thus, when only a portion of the remote desktophas changed, then only the changed portion can be provided from a remotedesktop server to its remote desktop client, instead of providing theentire image of the remote desktop to reduce traffic and improveefficiency.

FIG. 5 is a conceptual block diagram and image of a web browser 500according to certain aspects of the present disclosure as used inconjunction with a transcoding server (e.g., 208 in FIG. 2A or 2B, 330in FIG. 3A or 3B, 400A in FIG. 4A, or 400B in FIG. 4B) and a remotemachine (e.g., 204 in FIG. 2A or 2B, or 320 in FIG. 3A or 3B). In apreferred aspect, web browser 500 may be an HTML5 compatible webbrowser. In one aspect, web browser 500 may be web browser 312. Webbrowser 500 can include a script client code 520, for example, aJavaScript client code, and a canvas 530 (e.g., an object or element inmemory supporting 2D drawing or rendering). The script client code 520may refer to a script client 314 in FIG. 3A or 3B. The canvas 530 caninclude or represent the entire viewable window (e.g., 130 of FIG. 1) ofthe browser (e.g., 312, 500). In a preferred aspect, the canvas 530 isan HTML5 compatible canvas, e.g., a canvas element according to theHTML5 specification. Examples of suitable web browsers can include, butare not limited to, Mozilla Firefox, Google Chrome, Safari, and Opera.Web browser 500 may be resident on a suitable user device such as a PCor smartphone or the like.

The script client code 520 can include an input listener 522 responsiveto user inputs such as mouse, keyboard, and touch events. The inputlistener 522 can send HTTP requests with the user inputs to atranscoding server, e.g., server 208 in FIG. 2A or 2B or 330 of FIG. 3Aor 3B. The script client code 520 may also include a load image functionor module 524 that includes an image onload handler 526, which mayextract drawing coordinates from the HTTP header (e.g., from the portionknown as a cookie), draw the received image onto canvas 530, and callthe load image function 524 again, passing it its unique identification(ID). An image on error handler and/or image on abort handler 528 mayalso be included in the load image function 524 to handle loadingerrors. The handler 528 may call the load image function 524. For remotedesktop sessions, the canvas 530 can hold an image of the remote desktopof the remote machine, e.g., 132 of FIG. 1, and the user device maydisplay the image onto a display (e.g., 313 in FIG. 3A or 3B) in theviewable window 130 of the browser (e.g., 312, 500).

As mentioned previously, an HTML5 compatible browser can be used forexemplary embodiments of the present disclosure. HTML5 includes (orsupports) a canvas, which allows for dynamic, real-time, scriptablerendering of 2D shapes and bitmap images. In one aspect, beingscriptable can mean or include reference to utilizing JavaScript forrendering a 2D image. The canvas 530 consists of a drawable regiondefined in HTML code with height and width attributes. JavaScript codemay access the canvas region or area through a full set of drawingfunctions similar to other common 2D APIs, thus allowing for dynamicallygenerated graphics.

In operation, such as accessing a remote machine (e.g., 204 in FIG. 2Aor 2B or 320 in FIG. 3A or 3B)) during a remote desktop session, theinput listener 522 may relay user inputs to the related transcodingserver (e.g., 208 in FIG. 2A or 2B or 330 in FIG. 3A or 3B), whichinterfaces with the remote machine by way of a remote desktop client andremote desktop client adapter, (e.g., 350 in FIG. 3A or 3B or 430 inFIG. 4A or 4B). The script client code 520 can also send a number ofdrawing requests, as indicated by Loadlmage(1)-Loadlmage(4). Asdescribed previously, the drawing requests can be handled by the relatedtranscoding server as long polling requests.

When drawing commands are received from the remote desktop server viathe remote desktop client, the transcoding server may create/modify anoff-screen image of the remote desktop and provide the actual image andrelated coordinates to the browser 500, where the JavaScript client'simage onload handler (e.g., 528) can then draw the image 532 to thecanvas 530 in accordance with the coordinates extracted from the HTTPheader (e.g., cookie). In one aspect, the image 532 represents a portionof the entire image of the remote desktop that has been changed, andthus the onload handler can receive and update a portion of the canvasbased on the coordinates received (instead of updating the entirecanvas).

In one aspect, a bitmap in a transcoding server (e.g., Java off-screenbitmap 444) may include or represent a bitmap of an entire image of aremote desktop (e.g., 132 of FIG. 1). When a portion(s) of the image ofthe remote desktop is changed (e.g., image portion 450, 452) in responseto, for example, a user's input command or other changes by the remotemachine, the changed image portion(s) and its remote desktop coordinatesmay be provided as a remote desktop drawing command(s) to a remotedesktop client adapter (e.g., 430) from a remote desktop server (e.g.,322) via a remote desktop client (e.g., 432).

In one aspect, the remote desktop client adapter may translate theremote desktop drawing command(s) into a graphics drawing command(s),generate coordinates (corresponding to the remote desktop coordinates)based on the graphics drawing commands, and provide the coordinates intoa pool (e.g., 442). The remote desktop client adapter may execute thegraphics drawing command(s) to draw into the bitmap, or stated inanother way to generate a bitmap portion(s) to update a portion(s) ofthe bitmap (e.g., a portion(s) of 444) according to the coordinatesgenerated by the remote desktop client adapter. The updated portion(s)of the bitmap represents the changed image portion(s) of the remotedesktop. In a preferred aspect, the updated portion(s) of the bitmap isa portion of a Java off-screen bitmap 444.

In one aspect, an HTTP handler (e.g., 422) may form an image filecorresponding to the updated portion(s) of the bitmap, obtain thecoordinates (e.g., from 442) for the image file, and place thecoordinates into a section of an HTTP header. The HTTP handler may thenprovide the image file and the coordinates to a web browser (e.g., 312,500) or more specifically to a script client code (e.g., 520) in asingle HTTP response.

A canvas (e.g., 530) may store the entire image of a remote desktop(e.g., 132 of FIG. 1) to be displayed on a display (e.g., 100, 313) andthen a portion(s) of the canvas 530 may be updated when a portion(s) ofthe image of the remote desktop is changed during a remote desktopsession. In this example, when the script client code receives an imagefile and the coordinates corresponding to the changed portion(s) of theimage of the remote desktop, the script client code can update a portionof the canvas at canvas coordinates corresponding to the coordinatesreceived from the HTTP handler so that the updated portion of the canvasrepresents the image contained in the image file.

Because drawing commands provided by a remote desktop client may includeonly those image portion(s) or region(s) of the remote desktop (withcorresponding coordinates) that have been changed or updated relative toprevious drawing commands, the image provided to the canvas (e.g., 530)can accordingly be limited or minimized to include just the updatedportion(s) of the remote desktop, in exemplary embodiments. The updateson the remote desktop can be due to a user's input (e.g., via a remotedesktop session) or caused by the remote machine itself, e.g., a newindicated time from the system clock. Because the size of the image(s)provided to the canvas (e.g., 530) in response to drawing requests canbe minimized, the traffic for the remote session can be reduced orminimized, facilitating a real time user experience for a remote desktopsession.

In one example, a remote desktop drawing command may comprise a drawingcall such as gdi_bitmap (*data, top, left, width, height, 16, 32) inwhich “*data” may be a pointer to a memory location where the bitmapdata is located. The parameters “top, left, width, height” may representthe coordinates for the bitmap data. The parameter “16” may be thenumber of bits in red-green-blue (RGB), and the parameter “32” may bethe number of bits in alpha-red-green-blue (ARGB). Thus, this exemplarycall indicates where the bitmap data for a portion of the image of theremote desktop (e.g., the portion that has been changed) is located, thecoordinates for the bitmap data, and the number of bits used to convertfrom an RGB format to an ARGB format.

In another example, a graphics drawing command may comprise a drawingcall such as draw-rect (color, top, left, width, height). This drawingcall can draw a rectangle at the coordinates specified by “top, left,width, height” using the specified “color.”

In one aspect, when long polling is utilized between a client device anda transcoding server that uses HTTP (a pull protocol), traffic to theclient device can be reduced to a level experienced by a push-typeprotocol.

FIG. 6 illustrates an example of remote desktop client adapter 600, inaccordance with various aspects of the subject technology. The remotedesktop client adapter 600 facilitates communication between the remotemachine 690, which may include a remote desktop server 680, and the restof the transcoding server components, e.g., the web applicationcontainer (e.g., 420 in FIG. 4A or 4B) and drawing commands queue (e.g.,440 in FIG. 4A or 4B). In some aspects, a remote desktop client adapter600 may provide a common interface between remote desktop client (e.g.,352 in FIG. 3A or 3B, 432 in FIG. 4A or 4B, or 640 in FIG. 6) and webapplication container (e.g., 420 in FIG. 4A or 4B). In some aspects, aremote desktop client adapter 600 may include a drawing command handler630, a remote desktop client manager 610, a user input handler 620, andremote desktop client 640. In some aspects, a remote desktop clientadapter does not necessarily include a remote desktop client 640.Rather, a remote desktop client may be a module separate from remotedesktop client adapter (e.g., as shown in FIG. 3B).

According to various aspects of the subject technology, an adapter 600may include a remote desktop client manager 610, which may be configuredto receive a connection request (e.g., an HTTP request specifying aparticular remote machine) indirectly from a web browser (e.g., 312 inFIG. 3A or 3B) via a web application container (e.g., 340 in FIG. 3A or3B or 420 in FIG. 4A or 4B). In some aspects, a connection request maybe received from a web browser via a web application container thatcommunicates with the web browser. For example, the connection requestcan be received from a web browser via an HTTP handler (e.g., 344 or422) of a web application container. In some aspects, a remote desktopclient manager 620 may manage (or facilitate) establishing a remotedesktop session between a remote desktop client 640 and a remote desktopserver 680 in response to the connection request. For example, a remotedesktop client manager 610 may manage (or facilitate) starting theremote desktop session, passing credentials, settings, preferences,etc., to a remote desktop server (e.g., via a remote desktop client),and stopping the remote desktop session.

In one aspect, a remote desktop client manager 610 may receive aconnection request, e.g., a request originated from a web browser toestablish a connection with remote desktop server (e.g., 322 or 680). Inresponse to the connection request, the remote desktop client manager610 may generate session control commands that are compatible with theremote desktop client, remote desktop server and the remote desktopdisplay protocol, e.g., session control commands that can be understoodand processed by remote desktop client and remote desktop server andthat can be transmitted and received by remote desktop client and remotedesktop server utilizing the remote desktop display protocol. Thesesession control commands may include a command for starting a remotedesktop session, a command for stopping the remote desktop session. Thesession control commands may include one or more of credentials,settings, preferences, etc. and command(s) for passing credentials,settings, preferences, etc. to remote desktop server (e.g., 322 or 680).In response to the connection HTTP request, the remote desktop clientmanager 610 may provide the appropriate session control command(s),generated by the remote desktop client manager, to the remote desktopclient (e.g., 352 or 640). The remote desktop client may then use thesession control commands received from the remote desktop client manager610 to start a remote desktop session with the remote desktop server,pass credentials, settings, preferences, etc., to remote desktop server,and stop the remote desktop session.

In one aspect, a remote desktop client manager 610 can translate aconnection request that is not compatible with a remote desktop client,a remote desktop server, or a remote desktop display protocol (e.g.,that cannot be understood or processed by a remote desktop client, aremote desktop server or a remote desktop display protocol) into sessioncontrol commands that are compatible with the remote desktop client, theremote desktop server and the remote desktop display protocol (i.e.,that can be understood and processed by remote desktop client and remotedesktop server and that can be communicated between remote desktopclient and remote desktop server utilizing the remote desktop displayprotocol).

In some aspects, facilitating an establishment of a remote desktopsession, between a remote desktop client and a remote desktop server,comprises generating a session control command based on the initial HTTPrequest. In some aspects, facilitating an establishment of the remotedesktop session comprises transmitting the session control command froma remote desktop client manager 610 to a remote desktop client 640 andthen from the remote desktop client to a remote desktop server 680. Forexample, the session control command may be transmitted to the remotedesktop server 680 via the remote desktop client 640 that communicateswith remote desktop server 680 using a remote desktop display protocol.In some aspects, the remote desktop display protocol comprises at leastone of the Microsoft® Remote Desktop Protocol (RDP), personal computerover internet protocol (PCoIP), remote FX (RFX) protocol, remoteframebuffer (RFB) protocol, independent computing architecture (ICA), NXprotocol, and other suitable remote desktop display protocols. In someaspects, the RFB protocol comprises virtual network computing (VNC).

According to certain aspects of the subject technology, a server such asserver 208, 330, 400A, 400B (e.g., via a remote desktop client manager610) can maintain open connections between its remote desktop client andone or more remote desktop servers at all times, allowing single ormultiple client devices to be interactively connected and disconnectedto remote desktop sessions instantly. In some aspects, remote desktopsessions may never need to be disconnected from the one or more remotedesktop servers, as a server can maintain active connections to the oneor more remote desktop servers. Of course, a remote machine (e.g., 690)may go down for reasons that are outside of a related transcodingserver's control; however, the connection can be maintained as long asthe remote machine is available for remote access. For example, a remotedesktop client manager 610 may continuously maintain the remote desktopsession until the remote desktop server disconnects from the remotedesktop session depending on the remote desktop server's idle remoteconnection settings. In some aspects, remote desktop sessionsestablished utilizing a remote desktop client manager 610 may be resizedand adjusted for best display and user experience to utilize the fullcapability of the client devices.

According to various aspects of the subject technology, a user inputhandler 620 may receive an input request indirectly from a web browsersuch as a server 208, 330, 400A, 400B (e.g., via an HTTP handler 344 or422), and convert the input request into a format recognized by and/orcompatible with remote desktop client 640 and remote desktop server 680.For example, user input handler 620 receives an input request that wastransmitted utilizing a request-response protocol from web browser. Inpreferred aspects, the request-response protocol may comprise hypertexttransfer protocol (HTTP). In another aspect, the request-responseprotocol may comprise other suitable request-response protocols. In someaspects, the input request is received from a web browser (e.g., 312 inFIG. 3A or 3B) via a web application container (e.g., 340 420) thatcommunicates with the web browser. For example, the input request isreceived via an HTTP handler (e.g., 344 or 422) of a web applicationcontainer. In some aspects, the input request comprises at least one ofa mouse event, a keyboard event, and a touch event. User input handler620 may translate the input request that is in a format suitable for orcompatible with the request-response protocol into an input command(e.g., a remote desktop display protocol input command) that is suitablefor or compatible the remote desktop display protocol. The user inputhandler 620 may transmit the input command to a remote desktop client640, which may transmit the input command to a remote desktop server680. For example, user input handler 620 may facilitate transmitting theinput command to remote desktop server 680 via remote desktop client 640that communicates with remote desktop server 680 using the remotedesktop display protocol. In one aspect, an input request is sometimesreferred to as a user input command and vice versa. Please note,however, if an input request is referred to as an input command when itis received via HTTP, it is a HTTP request rather than a command. In oneaspect, an input command is sometimes referred to as an input call or aremote desktop input command and vice versa.

A remote machine 690 (e.g., its remote desktop server 680) may executeone or more actions based on the input command and send drawing data, asa result of the executed one or more actions, to a server such as atranscoding server 208, 330, 400A or 400B (e.g., a remote desktop client620 of the server). According to various aspects, a remote desktopclient 640 can receive a screen drawing command transmitted from aremote machine 690 (e.g., its remote desktop server 680) utilizing theremote desktop display protocol, in response to the input commandtransmitted to remote machine 690 (e.g., its remote desktop server 680).In one aspect, a screen drawing command received from a remote machinemay be sometimes referred to as a drawing command, a remote machinedrawing command, or a remote desktop drawing command received from aremote machine and vice versa. The drawing command handler 630 may thenreceive the screen drawing command from the remote desktop client 640connected to the remote machine 690. For example, a drawing commandhandler 630 can receive the screen drawing command from a remote machine690 (e.g., its remote desktop server 680) via a remote desktop client640 that communicates with the remote machine 690 (e.g., its remotedesktop server 680) using the remote desktop display protocol.

According to certain aspects, a drawing command handler 630 may converta screen drawing command into a format recognized by and/or compatiblewith a web browser (e.g., 312 in FIG. 3A or 3B). For example, a drawingcommand handler 630 may translate a screen drawing command that issuitable for or compatible with a remote desktop client, a remotedesktop server and a remote desktop display protocol, into a graphicsdrawing command that is compatible with the server 208, 330, 400A or400B, such as a Java graphics (abstract window toolkit) API command whenthe server is a Java transcoding server. In some aspects, translatingthe screen drawing command can include calculating new, and/or adjustingreceived drawing command parameters, and/or making adjustments to thereceived bitmap data, such as, but not limited to, converting the 16-bitred-green-blue (RGB) 5-6-5 color format into a 32-bitalpha-red-green-blue (ARGB) 8-8-8-8 format. In some aspects, drawingcommand handler 630 may execute the graphics drawing command (e.g., Javagraphics API command) to draw into an already created image bitmap,(e.g., the off-screen Java bitmap 444) of the drawing commands queue(e.g., 360 in FIG. 3A or 3B, or 440 in FIG. 4A or 4B) at the transcodingserver (e.g., 330 in FIG. 3A or 3B, 400A in FIG. 4A, or 400B in FIG.4B). In one aspect, Java graphics API command is sometimes referred toas Java graphics command or Java graphics drawing command. In oneaspect, the off-screen bitmap may be a storage or memory location thatis a part of a drawing commands queue (e.g., 360 or 440) accessible byan application container (e.g., 340 or 420). In one aspect, the size ofan off-screen bitmap may represent the size of a remote session. Statedin another way, the size of an off-screen bitmap may represent the sizeof the remote desktop, or an off-screen bitmap may be a bitmaprepresentation of an entire image of a remote desktop.

Preferred embodiments of the present disclosure may, in essence,translate a request in HTTP to a command in a remote desktop displayprotocol and vice versa (e.g., translate requests/responsestransmitted/received via HTTP to commands transmitted/received via aremote desktop display protocol, and vice versa) for a remote sessionbetween a client device and a remote machine. For example, the inputrequest from the web browser such as a server 208, 330, 400A, 400B maybe translated into the input command (e.g., a remote desktop inputcommand) that is suitable for or compatible with the remote desktopdisplay protocol and is received by remote desktop server 680 via remotedesktop client 640. The screen drawing command transmitted from theremote machine 690 (e.g., in response to the input command) utilizingthe remote desktop display protocol may be translated into the graphicsdrawing command that is compatible with the server 208, 330, 400A or400B, such as a Java graphics (abstract window toolkit) API command. Insome aspects, HTTP is a pull protocol while a remote desktop displayprotocol may be a push protocol. In some aspects, a drawing command inpush protocol may be translated into a drawing update (or a drawingresponse) in pull protocol during a remote session between a clientdevice and a remote machine.

With continued reference to FIG. 6, a drawing command handler 630, whendrawing into the off-screen bitmap, may transmit pixel data to theoff-screen bitmap. In some aspects, the pixel data is used to update aportion of the off-screen bitmap (e.g., an off-screen Java bitmap). Insome aspects, a drawing command handler 630 may transmit the pixel datato the off-screen bitmap so that the updated portion of the off-screenbitmap may be stored and/or converted to an image file.

According to certain aspects, a drawing command handler 630 can generateone or more coordinates corresponding to the updated portion of theoff-screen bitmap (e.g., an image drawn into the off-screen bitmap whenthe graphics drawing command is executed). For example, the one or morecoordinates may identify the locations where the corresponding imagebitmap is to be executed on the canvas of a web browser. In one example,the one or more coordinates may be extracted or copied from the graphicsdrawing command. A drawing command handler 630 may also transmit the oneor more coordinates to a dirty coordinates pool 442 in FIG. 4A or 4Bthat is a part of a drawing commands queue (e.g., 360 or 440). In someaspects, a drawing command handler 630 may transmit the one or morecoordinates to the dirty coordinates pool so that the one or morecoordinates may be stored in the dirty coordinates pool. Thus, a drawingcommand handler 630 may update “dirty” region coordinates in the drawingcommands queue. In some aspects, a drawing command handler 630 maytransmit a notification signal to a drawing requests queue (e.g., 426 inFIG. 4A or 4B) of a web application container (e.g., 420). In someaspects, the notification signal/message may indicate that the imagebitmap (e.g., the off-screen Java bitmap) has been updated.

FIG. 7 is a sequence diagram 700 of the interactions between atranscoding server (e.g., 208, 330, 400A or 400B) as used in conjunctionwith a web browser (e.g., 312) and a remote machine (e.g., 204, 320 or690), according to certain aspects of the present disclosure. Thesequences are shown as 701-724. As shown at 701, a web browser can sendan initial HTTP request to a transcoding server (e.g., transcodingserver 400A of FIG. 4), for example, to its HTTP handler (e.g., 422).The initial HTTP request can include a URL that specifies a desiredremote machine. At 702 and 703, the transcoding server can facilitateestablishing a remote desktop connection with the remote machine (e.g.,its remote desktop server). At 704, the transcoding server also canprovide a client code, e.g., JavaScript client code, to the web browser.The JavaScript client code in the web browser can generate a number ofdrawing requests, which can be handled by the transcoding server as longpolling requests. In exemplary embodiments, four drawing requests may bepending at any one time although the number can be selected as desiredand optimized for different implementations.

As shown at the bottom of the diagram, e.g., at 719 and 722, the webbrowser can provide user input requests (as HTTP requests) to thetranscoding server, which in turn, e.g., at 721 and 724, can provide theuser input commands to the remote machine, e.g., for control of theremote desktop of the remote machine. At 705, the remote machine canprovide drawing commands (one command is shown) to the drawing commandsqueue (e.g., 360 or 440) in the transcoding server by way of the remotedesktop client adapter (e.g., 350, 430 or 600), which draws acorresponding image of the remote desktop into the off-screen bitmap inthe drawing commands queue. In response to the drawing command, thedrawing commands queue can provide, at 706, notification to the drawingrequests queue (e.g., 426) in the long polling handler module (e.g.,342) of the transcoding server. In response, the first pending drawingrequest can be taken from the drawing requests queue and provided to theHTTP handler. In response, at 707 and 708, the HTTP handler may obtainthe image from the drawing commands queue. At 709, the HTTP handler mayprovide the image and corresponding coordinates in a response sent tothe script client (e.g., 314 or 520, or more specifically 526) of theweb browser. The script client may then, at 711, draw the image (e.g.,532) to the canvas (e.g., 316 or 530) using the appropriate coordinates,extracted from the cookie, for displaying the remote desktop in the webbrowser.

In one aspect, an HTTP handler (e.g., 422) is a standard HTTP handler inthat when it receives a request from a web browser, it responds withoutwaiting or storing the request. For example, when an HTTP handlerreceives a user input request as a HTTP request at 719 or 722 from a webbrowser, the HTTP handler responds immediately with a null response at720 and 723, respectively (while the request is sent to the remotemachine via a remote desktop client adapter). In one aspect, a longpolling handler (e.g., 424) may be used to receive a request and respondto it based on an event, and a long polling request may be stored. Forexample, under one condition (e.g., a drawing command is pending), thenthe request is responded immediately (e.g., the polling handler sendsthe drawing request to the HTTP handler so that the HTTP handler cansend a response to the drawing request immediately. Under anothercondition (e.g., a drawing command is not pending), then the request maybe stored away (e.g., into a drawing requests queue) until a conditionis satisfied (e.g., a new drawing command has arrived at a drawingcommands queue).

In one aspect, a remote desktop is a desktop of a remote machine. In oneaspect, during a remote desktop session with a remote machine, a webbrowser of a client device may access, control and/or view any or allapplications and files resident on the remote machine. In anotheraspect, during a remote desktop session with a remote machine, dependingon the user's credentials and settings, a web browser may be allowed toaccess, control and/or view some of the applications and files residenton the remote machine.

In one preferred aspect, each of a client device, a transcoding server,and a remote machine is a separate and distinct machine that is remotefrom one another. In one aspect, a transcoding server may be a machinethat can communicate with one or more client devices and one or moreremote machines, and a transcoding server may be a machine that cancommunicate over a web. In one aspect, a web browser may be anapplication that allows a user to retrieve, present or communicateinformation over a web.

FIG. 8A is a conceptual block diagram of an example of a web server 820according to certain aspects of the present disclosure as used inconjunction with a web browser 810 (e.g., a HTML5-compatible browser orwindows web browser) and a remote machine 830. Web browser 810 maybelong to a client device 802, such as a smart phone or laptop computer,and includes (i) a canvas 812 (e.g., a HTML canvas supporting 2Drendering, such HTML5 canvas) and (ii) a script client 814, e.g., aJavaScript client, in an advantageous aspect. The script client 814 mayreceive an image and corresponding coordinates from the web server 820and draw the image to the canvas 812, using the appropriate coordinatesfor displaying the remote desktop in the web browser.

In high-level description, a web server 820 can include two mainfunctional blocks or modules: a web application 822, such as amodel-view-controller (MVC) application of the ASP.NET framework, and aremote desktop client wrapper 826. The web application 822 can includean HTTP handler 824 (e.g., an asynchronous HTTP handler, such as an HTTPcontroller of the ASP.NET MVC) for handling HTTP requests (e.g., HTTPinitial connection requests, HTTP input requests and HTTP drawingupdates requests) from the web browser 810 and HTTP responses to the webbrowser 810. The HTTP handler 824 may handle HTTP requests synchronouslyor asynchronously. A synchronous handling involves an immediate responsethat is provided in the order of receiving a request that needsimmediate attention, whereas the asynchronous handling may involve animmediate response or a delayed response depending on the nature of therequest. For example, the response to a synchronous request including aninitial connection request or an input request (e.g., user input events,such as mouse, keyboard, or touch events) is a synchronous response anda response to an asynchronous request including a drawing update requestis an asynchronous response, which may be immediate, if there arechanges in the remote desktop that needs immediate attention or delayed,if there are no changes in the remote desktop. In the asynchronous case,the browser, after making the request may engage in other activitieswhile waiting for the asynchronous response from the web server.

The remote desktop client wrapper 826 can be configured to interfacewith a remote desktop client (not shown in FIG. 8A for simplicity),e.g., from a third-party vendor, for communication with the remotemachine 830, which may include a remote desktop server 832, as shown.Embodiments of the web server 820 can be configured to provide anapplication framework for hosting one or more web applications and/orfunction as a windows web application container that can run windowsAPI. In some aspects, a remote desktop client wrapper 826 may bereferred to as a remote desktop client common interface. The desktopclient wrapper 826 may function to communicate with the remote desktopserver 832 of the remote machine 830 using a remote desktop displayprotocol. The remote desktop client may communicate remote desktopprotocol data, for example, send a user's input to the remote machine,and receive drawing data from the remote machine via its specific remotedesktop display protocol.

In one aspect, a remote desktop server 832 may refer to a softwareinstalled on the remote machine 830, and a remote desktop server 832 mayallow applications, particularly those including graphical applications,which run on the remote machine 830, to be displayed at a machine thatis separate and distinct from the remote machine 830 (e.g., on display804 of the client device 802 using web browser 810). Remote desktopserver 832 may allow drawing commands representing an image of a desktopof the remote machine to be transmitted to the separate machine via theweb server 820. In one aspect, remote desktop client wrapper 826 mayrefer to software installed on the machine that is separate and distinctfrom the remote machine 830 (e.g., web server 820). Remote desktopclient wrapper 826 may send requests to remote desktop server 832 via aremote desktop display protocol and in response receive the drawingcommands representing the image of the desktop of the remote machine viathe remote desktop display protocol.

FIG. 8B is a conceptual block diagram of an example of a web server, abrowser and a remote machine. One advantageous aspect of the disclosurepermits the following: a browser 810 may facilitate communication to andfrom a web server 820 using HTTP protocol and vice versa, while the webserver 820 may facilitate communication to and from a remote machine 830using a remote desktop display protocol and vice versa. Like componentsare labeled with identical element numbers for ease of understanding.

FIG. 9 is a conceptual block diagram of an example of a web application910. In one aspect, a web application 910 may include an asynchronousHTTP handler 912, a drawing commands buffer 920, and a remote desktopclient wrapper 930. In operation, the asynchronous HTTP handler 912 mayreceive and respond to HTTP requests from a web browser (e.g., webbrowser 810 of FIG. 8) on a user device (e.g., 202 in FIG. 2A or 310 inFIG. 3A or 3B). The asynchronous HTTP handler 912 may provide user inputrequests to the remote desktop client wrapper 930, which provides acommon interface between the asynchronous HTTP handler 912 and theremote desktop client 932. The asynchronous HTTP handler 912 mayinclude, an HTTP request switch 914, an HTTP handler response readymodule 916, and a drawing requests queue 918. The HTTP request switch914 may handle HTTP drawings requests, HTTP requests for connection, anduser input events (e.g., mouse, keyboard, or touch events). The HTTPrequest switch 914 may be configured to pass connection and inputrequests received from a script client (e.g., script client 814 of FIG.8) of a browser (e.g., browser 810 of FIG. 8) and pass them to remotedesktop client wrapper 930.

With regard to drawing requests, if there are pending drawing commands,the HTTP request switch 914 may handle the request synchronously bypassing the drawing request to the HTTP handler response ready module916 for completing the pending requests. Otherwise, the drawing requestmay be handled asynchronously by adding the drawing request to thedrawing requests queue 918. In one aspect, pending drawing commands mayinclude coordinates for the image in a drawing coordinates queue 924and/or an image (e.g., memory bitmap 922) in the drawing commands buffer920. In an aspect, a windows bitmap may refer to a windows Graphics APImemory bitmap, which in one aspect, may refer to a memory bitmap or anoff-screen bitmap. The HTTP handler response ready module 916 can handlesending HTTP responses back to the client/web browser (e.g., 810 in FIG.8). In one aspect, the HTTP handler response ready module 916 is astandard HTTP handler. The drawing requests queue 918 can function tostore incoming HTTP drawing requests received by the HTTP request switch914 from the client (e.g., HTML5 compatible web browser such as webbrowser 810 in FIG. 8) and respond to them when there are pendingdrawing commands from the drawing commands buffer 920. The drawingcommands buffer 920 can serve two purposes: holding or storing anoff-screen image, e.g., memory bitmap 922, onto which drawing commandsare executed; and, serving as the drawing coordinates queue 924, e.g., aqueue of coordinates for drawing commands. The coordinates can be thoseof regions or areas of an image of the remote desktop that need to beredrawn at the client device to reflect changes on the remote desktop.The areas or regions are sometimes referred to as drawing regions. Thedrawings commands buffer 920 can function as memory or storage that isaccessible by both the asynchronous HTTP handler 912 and the remotedesktop client wrapper 930.

The remote desktop client wrapper 930 can be configured to interfacewith any suitable remote desktop client 932 for communication with aremote machine (e.g., 830 in FIG. 8), which may be configured to includea remote desktop server (e.g., 832 in FIG. 8). The remote desktop clientwrapper 930 may translate user input information (e.g., mouse, keyboard,and touch events) into respective remote desktop input calls for theremote desktop client 932. The remote desktop client wrapper 930 maytranslate the drawing commands (e.g., GDI drawing commands) of an imageof a remote desktop received from a remote machine (e.g., 204 in FIG. 2Aor 2B or 320 in FIG. 3A or 3B) via a remote desktop display protocol andthe remote desktop client 932, into windows graphics drawing commands.

After receiving and translating the drawing commands from the remotedesktop client 932, the remote desktop client wrapper 930 may draw intoan off-screen memory bitmap 922 stored in the drawings commands buffer920 as shown. More specifically, the remote desktop client wrapper 930may provide, as an image, a portion of drawing regions of the remotedesktop affected by the user's input from the user device. Along withthe drawing commands, the remote desktop client wrapper 930 may extract,from the drawing command(s), coordinates of the drawing region(s) fromthe remote desktop client and provide the drawing coordinates to thedrawing commands buffer 920 (e.g., drawing coordinates queue 924), asindicated. The coordinates can be placed into an HTTP header section(e.g., by HTTP handler response ready module 916) to send drawing regioncoordinates (e.g., as cookie), along with an image, to a browser (e.g.,312 in FIG. 3A or 3B) for display.

In the event there are new drawing coordinates in the drawing commandsbuffer 920 (e.g., in the drawing coordinates queue 924), drawingcommands buffer 920 may send a notification to the drawing requestsqueue 918 so that any pending request in the drawing requests queue 918can be forwarded to the HTTP handler response ready module 916 forserving. The HTTP handler response ready module 916 may then reach tothe drawing commands buffer 920 (e.g., drawing coordinates queue 924),and obtain the drawing coordinates from the drawing coordinates queue924. The HTTP handler response ready module 916 may then place thedrawing coordinates into an HTTP header section (known as a cookie). Inaddition, according to those coordinates, the HTTP handler responseready module 916 may obtain an image portion from the off-screen memorybitmap 922. The HTTP handler response ready module 916 may then send theimage (e.g., as a joint photographic experts group (JPEG) image, or aportable network graphics (PNG) image) as well as the coordinates, whichare stored in an HTTP response header section, to the web browser (e.g.,810 in FIG. 8) for display at the user device's display. As a result,the web application 910 can facilitate a remote desktop session betweena user device (e.g., 202 in FIG. 2A or 2B or 310 in FIG. 3A or 3B) and aremote machine (e.g., 204 in FIG. 2A, 3B, 320 in FIG. 3A or 3B. or 830in FIG. 8) without the need for the user device to utilize proprietaryplug-ins or protocols.

In one aspect, an image (or an image file such as a windows image file)and drawing coordinates sent by a web server (e.g., a windows webserver) to a windows web browser may be considered as an example of webbrowser drawing updates. In a preferred aspect, web browser drawingupdates are compatible with the windows web browser so that the windowsweb browser can recognize the web browser drawing updates and processthem to display an image at the appropriate location on a display. Webbrowser drawing updates may be implemented with other types of drawingdata and commands.

In one aspect, an HTTP protocol (the requests of which may be handledwith HTTP request switch and HTTP handler response ready module) betweena client device and a web server is a pull protocol, and a remotedesktop display protocol utilized between a web server and a remotemachine is a push protocol.

The remote desktop client wrapper 930 may receive a user's inputinformation, data, or commands (e.g., mouse, keyboard, and touch events)from HTTP request switch 914 and translate the inputinformation/commands into respective remote desktop input calls, whichare sometimes referred to as remote desktop input commands. The remotedesktop client wrapper 930 may also translate the drawing commands ofthe remote desktop, e.g., GDI drawing commands, received from a remotedesktop server (e.g., remote desktop server 832 of FIG. 8, via a remotedesktop display protocol and remote desktop client 932) into windowsgraphics application programming interface (API) commands. Windowsgraphics API commands in themselves are not suitable for the webbrowser; but they are an intermediary step towards achieving browsercompatibility. The remote desktop client wrapper may then execute thosewindows graphics API commands, i.e., drawing into an off-screen memorybitmap, which can be stored in the drawing commands buffer 920. In analternative embodiment, the drawing commands buffer 920 may receive thewindows graphics API commands from the remote desktop client wrapper andexecute the windows graphics API commands to draw into an off-screenmemory bitmap. The HTTP handler response ready module 916 can create animage, such as a JPEG image, or PNG image, or a bitmap file (BMP) imageor any other image file in an image format suitable for a browser (e.g.,a windows web browsers), from the memory off-screen bitmap; and theresulting image is suitable for the browser 810 of FIG. 8. In oneaspect, as the image (e.g., a JPEG or PNG image) is created in realtime, when it is created, it is simply sent to the web browser withoutbeing stored at the web server. In one aspect, a web server may comprisea web application. In one aspect, a web application may be a part of aweb server. In one aspect, a web application may refer to a web server.In one aspect, an asynchronous HTTP handler may be a part of a webapplication. In one aspect, an asynchronous HTTP handler may refer to aweb application. In an aspect, a web server may be a windows web server.In one aspect, a browser may be a windows web browser.

FIG. 10 is a conceptual block diagram of an example of a web browser1010 as used in conjunction with the web server 820 of FIG. 8 and theremote machine 830 of FIG. 8. In a preferred aspect, the web browser1010 may be a windows web browser compatible with HTML5. Web browser1010 can include a script client code 1030, for example, a JavaScriptclient code, and a canvas 1020 (e.g., an object or element in memorysupporting 2D drawing or rendering). The script client code 1030 mayrefer to a script client 814 of FIG. 8. In one aspect, script clientcode may refer to client script code. The canvas 1020 can include orrepresent the entire viewable window (e.g., 130 of FIG. 1) of thebrowser (e.g., 810 of FIG. 8 or 1010). In a preferred aspect, the canvas1020 is an HTML5 compatible canvas, e.g., a canvas element according tothe HTML5 specification. Examples of suitable windows web browsers caninclude, but are not limited to, Mozilla Firefox, Google Chrome, WindowsSafari, and Opera. Web browser 1010 may be resident on a suitable userdevice such as a PC, a smartphone, or the like.

The script client code 1030 can include an input listener 1032responsive to user inputs such as mouse, keyboard, and touch events. Theinput listener 1032 can send HTTP requests with the user inputs to a webserver, e.g., a web server of web application 910 in FIG. 9. The scriptclient code 1030 may also include a load image function or module 1034that can handle HTTP image requests asynchronously on the web server,and includes an image onload handler 1036, which may extract drawingcoordinates from the HTTP header (e.g., from the portion known as acookie), draw the received image onto canvas 1020, and call the loadimage function 1034 again, passing it its unique identification (ID). Animage on error handler and/or image on-abort handler 1038 may also beincluded in the load image function 1034 to handle loading errors. Theon-abort handler 1038 may call the load image function 1034. For remotedesktop sessions, the canvas 1020 can hold an image of the remotedesktop of the remote machine, e.g., 132 of FIG. 1, and the user devicemay display the image onto a display (e.g., 313 in FIG. 3A or 3B) in theviewable window 130 of a browser (e.g., 810).

As mentioned previously, an HTML5 compatible browser can be used forexemplary embodiments of the present disclosure. HTML5 includes (orsupports) a canvas, which allows for dynamic, real-time, scriptablerendering of 2D shapes and bitmap images. In one aspect, beingscriptable can mean or include reference to utilizing a script forrendering a 2D image. The canvas 1020 consists of a drawable regiondefined in HTML code with height and width attributes. Script codes mayaccess the canvas region or area through a full set of drawing functionssimilar to other common 2D APIs, thus allowing for dynamically generatedgraphics.

In operation, such as accessing a remote machine (e.g., 830 of FIG. 8)during a remote desktop session, the input listener 1032 may relay userinputs to the related web server (e.g., 820 or 910), which interfaceswith the remote machine by way of a remote desktop client and remotedesktop client wrapper (e.g., 826 in FIG. 8). The script client code1030 can also send a number of drawing requests, as indicated byLoadlmage(1)-Loadlmage(4).

When drawing commands are received from the remote desktop server viathe remote desktop client, the web server may create/modify anoff-screen image of the remote desktop and provide the actual image andrelated coordinates to the browser 1010, where the client's image onloadhandler (e.g., 1038) can then draw the image 1022 to the canvas 1020 inaccordance with the coordinates extracted from the HTTP header (e.g.,cookie). In one aspect, the image 1022 represents a portion of theentire image of the remote desktop that has been changed, and thus theonload handler can receive and update a portion of the canvas based onthe coordinates received (instead of updating the entire canvas).

In one aspect, a bitmap in a web server (e.g., memory bitmap 922) mayinclude or represent a bitmap of an entire image of a remote desktop(e.g., 132 of FIG. 1). When a portion(s) of the image of the remotedesktop is changed (e.g., image portion 450, 452) in response to, forexample, a user's input command or other changes by the remote machine,the changed image portion(s) and its remote desktop coordinates may beprovided as a remote desktop drawing command(s) to a remote desktopclient wrapper (e.g., 930 of FIG. 9) from a remote desktop server (e.g.,832) via a remote desktop client.

In one aspect, the remote desktop client wrapper may translate theremote desktop drawing command(s) into a graphics drawing command(s),generate coordinates (corresponding to the remote desktop coordinates)based on the graphics drawing commands, and provide the coordinates intoa queue (e.g., 924 of FIG. 9). The remote desktop client wrapper mayexecute the graphics drawing command(s) to draw into the bitmap, orstated in another way to generate a bitmap portion(s) to update aportion(s) of the bitmap (e.g., a portion(s) of 922) according to thecoordinates generated by the remote desktop client wrapper. The updatedportion(s) of the bitmap represents the changed image portion(s) of theremote desktop. In a preferred aspect, the updated portion(s) of thebitmap is a portion of memory bitmap 922.

In one aspect, an HTTP handler response ready module (e.g., 916 of FIG.9) may form an image file corresponding to the updated portion(s) of thebitmap, obtain the coordinates (e.g., from 924) for the image file, andplace the coordinates into a section of an HTTP header. The HTTP handlermay then provide the image file and the coordinates to a web browser(e.g., 810, 1010) or more specifically to a script client code (e.g.,1030) in a single HTTP response.

A canvas (e.g., 1020) may store the entire image of a remote desktop(e.g., 132 of FIG. 1) to be displayed on a display (e.g., 100, 313) andthen a portion(s) of the canvas 1020 may be updated when a portion(s) ofthe image of the remote desktop is changed during a remote desktopsession. In this example, when the script client code receives an imagefile and the coordinates corresponding to the changed portion(s) of theimage of the remote desktop, the script client code can update a portionof the canvas at canvas coordinates corresponding to the coordinatesreceived from the HTTP handler so that the updated portion of the canvasrepresents the image contained in the image file.

Because drawing commands provided by a remote desktop client may includeonly those image portion(s) or region(s) of the remote desktop (withcorresponding coordinates) that have been changed or updated relative toprevious drawing commands, the image provided to the canvas (e.g., 1020can accordingly be limited or minimized to include just the updatedportion(s) of the remote desktop, in exemplary embodiments. The updateson the remote desktop can be due to a user's input (e.g., via a remotedesktop session) or caused by the remote machine itself, e.g., a newindicated time from the system clock. Because the size of the image(s)provided to the canvas (e.g., 1020) in response to drawing requests canbe minimized, the traffic for the remote session can be reduced orminimized, facilitating a real time user experience for a remote desktopsession.

As discussed above, a remote desktop drawing command may comprise adrawing call such as gdi_bitmap (*data, top, left, width, height, 16,32) in which “*data” may be a pointer to a memory location where thebitmap data is located. The parameters “top, left, width, height” mayrepresent the coordinates for the bitmap data. The parameter “16” may bethe number of bits in red-green-blue (RGB), and the parameter “32” maybe the number of bits in alpha-red-green-blue (ARGB). Thus, thisexemplary call indicates where the bitmap data for a portion of theimage of the remote desktop (e.g., the portion that has been changed) islocated, the coordinates for the bitmap data, and the number of bitsused to convert from an RGB format to an ARGB format. In anotherexample, a graphics drawing command may comprise a drawing call such asdraw-rect (color, top, left, width, height). This drawing call can drawa rectangle at the coordinates specified by “top, left, width, andheight” using the specified “color.”

FIG. 11 is a conceptual block diagram of an example of a remote desktopclient wrapper 1100, in accordance with various aspects of the subjecttechnology. The remote desktop client wrapper 1100 facilitatescommunication between a remote machine (e.g., 830 of FIG. 8), which mayinclude a remote desktop server (e.g., 832 of FIG. 8), and the rest ofthe web server components, e.g., the asynchronous HTTP handler (e.g.,912 of FIG. 9) and drawing commands buffer (e.g., 920 in FIG. 9). Insome aspects, a remote desktop client wrapper 1100 may provide a commoninterface between remote desktop client (e.g., 932 in FIG. 9) and theasynchronous HTTP handler (e.g., 912 of FIG. 9). In some aspects, aremote desktop client wrapper 1100 may include a drawing command module1112, a remote desktop session module 1114, a user input module 116, andremote desktop client 1118. In some aspects, a remote desktop clientwrapper does not necessarily include a remote desktop client 1118.Rather, a remote desktop client may be a module separate from remotedesktop client wrapper (e.g., as shown in FIG. 3B).

According to various aspects of the subject technology, the remotedesktop session module 1114 may be configured to receive a connectionrequest (e.g., an HTTP request specifying a particular remote machine)indirectly from a web browser (e.g., 810 of FIG. 8) via the asynchronousHTTP handler (e.g., 912 in FIG. 9). In some aspects, a connectionrequest may be received from a web browser via an HTTP request switch(e.g., 914 of FIG. 9) that communicates with the web browser. In someaspects, a remote desktop session module 114 may manage (or facilitate)establishing a remote desktop session between a remote desktop client1118 (e.g., a remote desktop protocol client) and a remote desktopserver 832 in response to the connection request. For example, a remotedesktop session module 1114 may manage (or facilitate) starting theremote desktop session, passing credentials, settings, preferences,etc., to a remote desktop server (e.g., via a remote desktop client),and stopping the remote desktop session.

In one aspect, a remote desktop session module 1114 may receive aconnection request, e.g., a request originated from a web browser toestablish a connection with remote desktop server (e.g., 322 or 680). Inresponse to the connection request, the remote desktop session module1114 may generate session control commands that are compatible with theremote desktop client, remote desktop server and the remote desktopdisplay protocol, e.g., session control commands that can be understoodand processed by remote desktop client and remote desktop server andthat can be transmitted and received by remote desktop client and remotedesktop server utilizing the remote desktop display protocol. Thesesession control commands may include a command for starting a remotedesktop session, a command for stopping the remote desktop session. Thesession control commands may include one or more of credentials,settings, preferences, etc. and command(s) for passing credentials,settings, preferences, etc. to remote desktop server (e.g., 832). Inresponse to the connection HTTP request, the remote desktop sessionmodule 1114 may provide the appropriate session control command(s),generated by the remote desktop session module, to the remote desktopclient (e.g., 1118). The remote desktop client may then use the sessioncontrol commands received from the remote desktop session module 1114 tostart a remote desktop session with the remote desktop server, passcredentials, settings, preferences, etc., to remote desktop server, andstop the remote desktop session.

In one aspect, a remote desktop session module 1114 can translate aconnection request that is not compatible with a remote desktop client,a remote desktop server, or a remote desktop display protocol (e.g.,that cannot be understood or processed by a remote desktop client, aremote desktop server or a remote desktop display protocol) into sessioncontrol commands that are compatible with the remote desktop client, theremote desktop server and the remote desktop display protocol (i.e.,that can be understood and processed by remote desktop client and remotedesktop server and that can be communicated between remote desktopclient and remote desktop server utilizing the remote desktop displayprotocol).

In some aspects, facilitating an establishment of a remote desktopsession, between a remote desktop client and a remote desktop server,comprises generating a session control command based on the initial HTTPrequest. In some aspects, facilitating an establishment of the remotedesktop session comprises transmitting the session control command froma remote desktop session module 1114 to a remote desktop client 1118 andthen from the remote desktop client to a remote desktop server (e.g.,832). For example, the session control command may be transmitted to theremote desktop server via the remote desktop client 1118 thatcommunicates with remote desktop server using a remote desktop displayprotocol. In some aspects, the remote desktop display protocol comprisesat least one of the Microsoft® Remote Desktop Protocol (RDP), personalcomputer over internet protocol (PCoIP), remote FX (RFX) protocol,remote framebuffer (RFB) protocol, independent computing architecture(ICA), NX protocol, and other suitable remote desktop display protocols.In some aspects, the RFB protocol comprises virtual network computing(VNC).

According to certain aspects of the subject technology, a server such asserver 208, 330, 400A, 400B (e.g., via a remote desktop session module1114) can maintain open connections between its remote desktop clientand one or more remote desktop servers at all times, allowing single ormultiple client devices to be interactively connected and disconnectedto remote desktop sessions instantly. In some aspects, remote desktopsessions may never need to be disconnected from the one or more remotedesktop servers, as a server can maintain active connections to the oneor more remote desktop servers. Of course, a remote machine (e.g., 830)may go down for reasons that are outside of a related web server'scontrol; however, the connection can be maintained as long as the remotemachine is available for remote access. For example, a remote desktopsession module 1114 may continuously maintain the remote desktop sessionuntil the remote desktop server disconnects from the remote desktopsession depending on the remote desktop server's idle remote connectionsettings. In some aspects, remote desktop sessions established utilizinga remote desktop session module 1114 may be resized and adjusted forbest display and user experience to utilize the full capability of theclient devices.

According to various aspects of the subject technology, a user inputmodule 1116 may receive an input request indirectly from a web browsersuch as a web browser 810 (e.g., via an HTTP request switch 914 of FIG.9), and convert the input request into a format recognized by and/orcompatible with remote desktop client 1118 and remote desktop server832. For example, user input module 1116 receives an input request thatwas transmitted utilizing a request-response protocol from a webbrowser. In preferred aspects, the request-response protocol maycomprise hypertext transfer protocol (HTTP). In another aspect, therequest-response protocol may comprise other suitable request-responseprotocols. In some aspects, the input request is received from a webbrowser (e.g., 810) via an HTTP request switch (e.g., 914) thatcommunicates with the web browser. In some aspects, the input requestcomprises at least one of a mouse event, a keyboard event, and a touchevent. User input module 1116 may translate the input request that is ina format suitable for or compatible with the request-response protocolinto an input command (e.g., a remote desktop display protocol inputcommand) that is suitable for or compatible with the remote desktopdisplay protocol. The user input module 1116 may transmit the inputcommand to a remote desktop client 1118, which may transmit the inputcommand to a remote desktop server 832. For example, user input module1116 may facilitate transmitting the input command to remote desktopserver 832 via remote desktop client 1118 that communicates with remotedesktop server 832 using the remote desktop display protocol. In oneaspect, an input request is sometimes referred to as a user inputcommand and vice versa. Please note, however, if an input request isreferred to as an input command when it is received via HTTP, it is aHTTP request rather than a command. In one aspect, an input command issometimes referred to as an input call or a remote desktop input commandand vice versa.

A remote machine 830 (e.g., its remote desktop server 832) may executeone or more actions based on the input command and send drawing data, asa result of the executed one or more actions, to a server such as a webserver 820 (e.g., a remote desktop client wrapper 826 of the server).According to various aspects, a remote desktop client 1118 can receive ascreen drawing command transmitted from a remote machine 830 (e.g., itsremote desktop server 832) utilizing the remote desktop displayprotocol, in response to the input command transmitted to remote machine830 (e.g., its remote desktop server 680 of FIG. 6). In one aspect, ascreen drawing command received from a remote machine may be sometimesreferred to as a drawing command, a remote machine drawing command, or aremote desktop drawing command received from a remote machine and viceversa. The drawing command module 1112 may then receive the screendrawing command from the remote desktop client 1118 connected to theremote machine 830. For example, a drawing command module 1112 canreceive the screen drawing command from a remote machine 830 (e.g., itsremote desktop server 832) via a remote desktop client 1118 thatcommunicates with the remote machine 830 (e.g., its remote desktopserver 832) using the remote desktop display protocol.

According to certain aspects, a drawing command module 1112 may converta screen drawing command into a format recognized by and/or compatiblewith a web browser (e.g., 810). For example, a drawing command module1112 may translate a screen drawing command that is suitable for orcompatible with a remote desktop client, a remote desktop server and aremote desktop display protocol, into a graphics drawing command that iscompatible with the web server 820, such as a windows graphics (abstractwindow toolkit) API command. In some aspects, translating the screendrawing command can include calculating new, and/or adjusting receiveddrawing command parameters, and/or making adjustments to the receivedbitmap data, such as, but not limited to, converting the 16-bitred-green-blue (RGB) 5-6-5 color format into a 32-bitalpha-red-green-blue (ARGB) 8-8-8-8 format. In some aspects, drawingcommand module 1112 may execute the graphics drawing command (e.g.,windows graphics API command) to draw into an already created imagebitmap, (e.g., the off-screen memory bitmap 922) of the drawing commandsbuffer (e.g., 920 in FIG. 9) at the web server (e.g., 820 in FIG. 8). Inone aspect, windows graphics API command is sometimes referred to aswindows graphics command or windows graphics drawing command. In oneaspect, the off-screen bitmap may be a storage or memory location thatis a part of a drawing commands buffer (e.g., 920) accessible by anasynchronous HTTP handler (e.g., 912). In one aspect, the size of anoff-screen bitmap may represent the size of a remote session. Stated inanother way, the size of an off-screen bitmap may represent the size ofthe remote desktop, or an off-screen bitmap may be a bitmaprepresentation of an entire image of a remote desktop.

Preferred embodiments of the present disclosure may, in essence,translate a request in HTTP to a command in a remote desktop displayprotocol and vice versa (e.g., translate requests/responsestransmitted/received via HTTP to commands transmitted/received via aremote desktop display protocol, and vice versa) for a remote sessionbetween a client device and a remote machine. For example, the inputrequest from the web browser such as the windows web browser 810 may betranslated into the input command (e.g., a remote desktop input command)that is suitable for or compatible with the remote desktop displayprotocol and is received by remote desktop server 832 via remote desktopclient 1118. The screen drawing command transmitted from the remotemachine 830 (e.g., in response to the input command) utilizing theremote desktop display protocol may be translated into the graphicsdrawing command that is compatible with the web server 820, such as awindows graphics (abstract window toolkit) API command. In some aspects,HTTP is a pull protocol while a remote desktop display protocol may be apush protocol. In some aspects, a drawing command in push protocol maybe translated into a drawing update (or a drawing response) in pullprotocol during a remote session between a client device and a remotemachine.

With continued reference to FIG. 11, a drawing command module 1112, whendrawing into the off-screen bitmap, may transmit pixel data to theoff-screen bitmap. In some aspects, the pixel data is used to update aportion of the off-screen bitmap (e.g., an off-screen memory bitmap). Insome aspects, a drawing command module 1112 may transmit the pixel datato the off-screen bitmap so that the updated portion of the off-screenbitmap may be stored and/or converted to an image file.

According to certain aspects, a drawing command module 1112 can generateone or more coordinates corresponding to the updated portion of theoff-screen bitmap (e.g., an image drawn into the off-screen bitmap whenthe graphics drawing command is executed). For example, the one or morecoordinates may identify the locations where the corresponding imagebitmap is to be executed on the canvas of a web browser. In one example,the one or more coordinates may be extracted or copied from the graphicsdrawing command. A drawing command module 1112 may also transmit the oneor more coordinates to a drawing coordinates queue 924 in FIG. 9 that isa part of a drawing commands buffer (e.g., 920). In some aspects, adrawing command module 1112 may transmit the one or more coordinates tothe drawing coordinates queue so that the one or more coordinates may bestored in the drawing coordinates queue. Thus, a drawing command module1112 may update “drawing” region coordinates in the drawing commandsbuffer. In some aspects, a drawing command module 1112 may transmit anotification signal to a drawing requests buffer (e.g., 920) of anasynchronous HTTP handler (e.g., 912). In some aspects, the notificationsignal/message may indicate that the image bitmap (e.g., the off-screenmemory bitmap) has been updated.

In one advantageous aspect, a windows web server may comprise aMicrosoft Windows web server. A Microsoft Windows web server may utilizeMicrosoft's operating system. In one advantageous aspect, a web browseris a browser that is HTML5 compatible. In one advantageous aspect, awindows web browser is a browser that is HTML5 compatible.

In another advantageous aspect, a windows API may comprise a MicrosoftWindows API. A Microsoft Windows web API may be operable in Microsoft'soperating system.

In yet another advantageous aspect, a windows web browser may comprise aMicrosoft Windows web browser (e.g., Windows Internet Explorer). AMicrosoft Windows web browser may be operable in Microsoft's operatingsystem.

In yet another advantageous aspect, an MVC application may comprise anASP.NET MVC application that may be executable in Microsoft's operatingsystem.

In yet another advantageous aspect, a windows graphics drawing commandmay comprise a Microsoft Windows graphics drawing command. A MicrosoftWindows graphics drawing command may be executable in Microsoft'soperating system.

In yet another advantageous aspect, a windows image file may comprise aMicrosoft Windows image file. A Microsoft Windows image file may beusable in Microsoft's operating system.

In yet another advantageous aspect, a windows graphics API command maycomprise a Microsoft Windows graphics API command. A Microsoft Windowsgraphics API command may be executable in Microsoft's operating system.

In yet another advantageous aspect, a windows script client's imageonload handler (e.g., 1038) may comprise a JavaScript client's imageonload handler.

In one aspect, a windows application, file, command, interface,operating system or device (e.g., a windows web server, a windows API, awindows graphics drawing command, a windows image file, a windows scriptclient) is adapted to provide windowing functionality. In one aspect,windowing functionality may be adapted to provide an enclosed,rectangular window area on a display screen. In one aspect, windowingfunctionality may be adapted to provide a window that is a logical viewof a file. This may allow a user to view different portions of a filewhen the user moves the window. In one aspect, a windows operatingsystem is an operating system adapted to provide windowingfunctionality. In one example, a windows operating system comprises aMicrosoft Windows operating system. In one aspect, a windowsapplication, file, command, interface or device is adapted to utilize,or is operable with, a windows operating system.

In yet another advantageous aspect, a client device (e.g., client device802 of FIG. 8) is a computing machine that utilizes Microsoft'soperating system.

In one aspect, the subject technology may utilize other windows systemsand other operating systems.

In one aspect, each of a client device and a remote machine is an endmachine for communication, in that each is an end point of communication(as shown in FIGS. 2A and 2B). A server may be also an end machine asshown in FIG. 2B.

In one aspect, a transcoding server may comprise a web server, an HTTPhandler may comprise an HTTP handler, a long polling handler maycomprise an asynchronous handler and/or an HTTP request switch, a webapplication container may comprise an ASP.NET MVC Application, a remotedesktop client adaptor may comprise a remote desktop client wrapper, adrawing coordinates pool may comprise a drawing coordinated queue, adrawing command handler may comprise a drawing command module a remotedesktop client manager may comprise a remote desktop session module, anda user input handler may comprise a user input module.

FIG. 12 is a conceptual block diagram illustrating an example of acomputing system 1200 useful for embodiments of the present disclosure.System 1200 may be, for example, a client device (e.g., 202 or 310), aserver (e.g., 208, 330, 400A or 400B) or a remote machine (e.g., 204,320 or 690). The system 1200 may include a processing system 1202. Theprocessing system 1202 is capable of communication with a receiver 1206and a transmitter 1208 through a bus 1204 or other structures ordevices. It should be understood that communication means other thanbusses can be utilized with the disclosed configurations. The processingsystem 1202 can generate audio, video, multimedia, and/or other types ofdata to be provided to the transmitter 1209 for communication. Inaddition, audio, video, multimedia, and/or other types of data can bereceived at the receiver 1206, and processed by the processing system1202.

The processing system 1202 may include a general-purpose processor or aspecific-purpose processor for executing instructions and may include amachine-readable medium 1219, such as a volatile or non-volatile memory,for storing data and/or instructions for software programs. Theinstructions, which may be stored in a machine-readable medium 1210and/or 1219, may be executed by the processing system 1202 to controland manage access to the various networks, as well as provide othercommunication and processing functions. The instructions may alsoinclude instructions executed by the processing system 1202 for varioususer interface devices, such as a display 1212 and a keypad 1214. Theprocessing system 1202 may include an input port 1222 and an output port1224. Each of the input port 1222 and the output port 1224 may includeone or more ports. The input port 1222 and the output port 1224 may bethe same port (e.g., a bi-directional port) or may be different ports.

The processing system 1202 may be implemented using software, hardware,or a combination of both. By way of example, the processing system 102may be implemented with one or more processors. A processor may be ageneral-purpose microprocessor, a microcontroller, a digital signalprocessor (DSP), an application specific integrated circuit (ASIC), afield programmable gate array (FPGA), a programmable logic device (PLD),a controller, a state machine, gated logic, discrete hardwarecomponents, and/or any other suitable device that can performcalculations or other manipulations of information.

A machine-readable medium can be one or more machine-readable media.Software shall be construed broadly to mean instructions, data, or anycombination thereof, whether referred to as software, firmware,middleware, microcode, hardware description language, or otherwise.Instructions may include code (e.g., in source code format, binary codeformat, executable code format, or any other suitable format of code).

Machine-readable media (e.g., 1219) may include storage integrated intoa processing system, such as might be the case with an applicationspecific integrated circuit (ASIC). Machine-readable media (e.g., 1210)may also include storage external to a processing system, such as arandom access memory (RAM), a flash memory, a read only memory (ROM), aprogrammable read-only memory (PROM), an erasable PROM (EPROM),registers, a hard disk, a removable disk, a CD-ROM, a DVD, or any othersuitable storage device. In addition, machine-readable media may includea transmission line or a carrier wave that encodes a data signal. Thoseskilled in the art will recognize how best to implement the describedfunctionality for the processing system 1202. According to one aspect ofthe disclosure, a machine-readable medium is a computer-readable mediumencoded or stored with instructions and is a computing element, whichdefines structural and functional interrelationships between theinstructions and the rest of the system, which permit the instructions'functionality to be realized. In one aspect, a machine-readable mediumis a non-transitory machine-readable medium, a machine-readable storagemedium, or a non-transitory machine-readable storage medium. In oneaspect, a computer-readable medium is a non-transitory computer-readablemedium, a computer-readable storage medium, or a non-transitorycomputer-readable storage medium. A non-transitory machine-readablemedium (or a non-transitory computer-readable medium) may include, forexample, one or more volatile memories and/or one or more non-volatilememories. Instructions may be executable, for example, by a clientdevice, a server, a remote machine, or by a processing system of aclient device, a server, or a remote machine. Instructions can be, forexample, a computer program including code.

An interface 1216 may be any type of interface and may reside betweenany of the components shown in FIG. 12. An interface 1216 may also be,for example, an interface to the outside world (e.g., an Internetnetwork interface). A transceiver block 1207 may represent one or moretransceivers, and each transceiver may include a receiver 1206 and atransmitter 1209. A functionality implemented in a processing system1202 may be implemented in a portion of a receiver 1206, a portion of atransmitter 1209, a portion of a machine-readable medium 1210, a portionof a display 1212, a portion of a keypad 1214, or a portion of aninterface 1216, and vice versa.

FIG. 13A illustrates a block diagram representing a method 1300 ofaccessing and controlling a remote desktop from a web browser (e.g., 312or 500) via a transcoding server (e.g., 208, 330, 400A or 400B)according to certain aspects of the present disclosure. FIG. 13Billustrates a continuation of the method 1300. For method 1300, a webbrowser having 2D rendering capabilities, e.g., an HTML5 compatible webbrowser, is provided, as described at 1302. Input requests can bereceived at the transcoding server for controlling the remote desktop,as described at 1306. The input requests can be translated from theprotocol of the web browser, e.g., preferably HTTP, into the protocol ofthe remote desktop server associated with the remote desktop, asdescribed at 1308. The input commands can then be provided to the remotemachine (which may include a remote desktop server) as described at1310.

Referring to FIG. 13B and continuing with the description of method1300, drawing commands and coordinates, e.g., of dirty regions, can bereceived by the transcoding server from the remote desktop server, asdescribed at 1312. In response, the drawing commands and coordinates canbe translated from the protocol of the remote desktop server to theprotocol of the web browser, as described at 1314. The transcodingserver can respond by drawing or generating an image of the remotedesktop, as described at 1316. The image and the correspondingcoordinates can be linked or unionized, as described at 1318. A drawingrequest from the web browser can be responded to, as described at 1320,by sending the image and coordinates to the web browser for display, asdescribed at 1322. Accordingly, method 1300 may be used for controllingand accessing a remote desktop session via HTTP, and such control can bein real-time.

An exemplary embodiment of a method of accessing and controlling aremote desktop of a remote machine (e.g., 204, 320 or 690) from a webbrowser (e.g., 312 or 500) via a transcoding server (e.g., 208, 330,400A or 400B) may include the following three steps: step one can happenonce, at the beginning of a session; and steps two and three cancontinue interchangeably during the remote desktop session.

The first step can include an initial HTTP request by the web browser(e.g., a connection request to connect to a remote machine). Forexample, an initial HTTP request is sent by the web browser, preferablyan HTML5 compatible browser. The web browser receives back a response,which can contain a script client such as 314 or 500, e.g., JavaScriptAjax client code. The transcoding server (e.g., Java transcoding server)can use the connection request to establish a connection to a remotemachine via a remote desktop client. A remote desktop client on or usedwith the Java transcoding server can establish the connection to aremote machine, which utilizes a remote desktop display protocol. Thetranscoding server can function to interface between the HTTP protocoland the remote desktop display protocol. In one aspect, between the webbrowser and the transcoding server, there is no connection, as HTTP is aconnectionless protocol. Instead, there are only separate requests andresponses in HTTP protocol.

The second step is remote session drawing at the web browser: On thebrowser side, the client JavaScript code can continuously re-send anumber of, e.g., four asynchronous (Ajax) HTTP requests to find out ifthere are any “dirty” regions of the remote desktop of the remotemachine to (re)draw. On the Java transcoding server, these drawingrequests are handled as long polling requests, meaning that they will beresponded to only if there is data to be drawn, otherwise they hang inthe drawing requests queue (e.g., 426). In addition, on the Javatranscoding server, the remote session is drawn into an off-screen Javabitmap in a drawing commands queue of the transcoding server. Inaddition, the coordinates of the drawing command are also appended oradded to the drawing commands queue. This last part also sends anotification to the drawing requests queue of the transcoding server, sothat the first waiting request from the drawing requests queue can beserved. In HTTP response to the browser, the “dirty” drawing image issent, together with the drawing coordinates that are stored in one ofthe HTTP header sections (known as a cookie). On the browser side, thescript client receives the “dirty” image and the coordinates, and thescript client draws the image into an HTML canvas (e.g., 530) usingcoordinates from the cookie. This allows the remote session from aremote machine (e.g., an image of the remote desktop of the remotemachine) to be drawn, via a Java transcoding server, to the client'sHTML5 browser.

The third step involves a user input, such as a mouse click, keystroke,or touch event. On the browser side, the script client detects, e.g., amouse event, and sends an HTTP request to the transcoding server,passing along the X and Y coordinates of the event. The Java transcodingserver receives the request, sends an empty reply (see, e.g., 720 and723 in FIG. 7) to close the HTTP request, and then via remote desktopclient adapter, it forwards this request to the remote desktop client,which sends it via its protocol to the remote machine. These user inputrequests can be handled in a standard way, i.e., not as long pollingevents, to receive and process user input. User input can then be sentto the remote machine.

In a preferred aspect, a script client is not installed on the clientdevice. In other words, a script client does not exist (and is notpre-installed) on the web browser or on the client device prior to thefirst step described above (e.g., prior to the web browser connectingto, or sending a request to connect to, the transcoding server toinitiate a remote session with a remote machine). In a preferred aspect,a client device simply needs a web browser to initiate accessing andcontrolling a remote desktop of a remote machine or to initiate a remotedesktop session with the remote machine. Thus, the client device doesnot need software or a browser plug-in for a remote desktop displayprotocol. The transcoding server provides the script client in real timeto the web browser via HTTP once the web browser requests a connectionto a remote machine for a remote desktop session. The web browser'sconnection to the remote machine is established through the transcodingserver, and the script client is deleted from the client device and theweb browser when the remote desktop session is terminated or the browseris closed.

Illustration of Method/Apparatus/Machine Readable Storage Medium forfacilitating accessing and controlling a remote desktop of a remotemachine in real time by a web browser of a client device via a hypertexttransfer protocol (HTTP) utilizing a transcoding server (described asClauses).

The subject technology is illustrated, for example, according to variousaspects described below. Various examples of aspects of the subjecttechnology are described as numbered clauses (1, 2, 3, etc.) forconvenience. These are provided as examples, and do not limit thesubject technology. Clause 1 below is presented, for example, withreference to the figures of the present disclosure, e.g., FIGS. 14A-14C,etc. It is noted that any of the dependent clauses may be combined inany combination, and placed into a respective independent clause, e.g.,clauses 1, 11, and 22. The other clauses can be presented in a similarmanner.

1. A method (see, e.g., method 1400-A of FIG. 14A) of facilitatingaccessing and controlling a remote desktop of a remote machine (see,e.g., 320 of FIG. 3A) in real time by a web browser (see, e.g., 500 ofFIG. 5) at a client device (see, e.g., 310 in FIG. 3A) via a hypertexttransfer protocol (HTTP) utilizing a transcoding server (see, e.g., 330of FIG. 3A, the method comprising:

receiving, at the transcoding server, a remote desktop drawing commandbased on an image of the remote desktop of the remote machine, whereinthe remote desktop drawing command is compatible with a remote desktopdisplay protocol utilized by the remote machine (see, e.g., item 1402-Ain FIG. 14A);

translating, at the transcoding server, the remote desktop drawingcommand into a web browser drawing update that is compatible with theweb browser (see, e.g., item 1404-A in FIG. 14A); and

facilitating providing the web browser drawing update from thetranscoding server to the web browser of the client device utilizingHTTP during a remote desktop session between the client device and theremote machine (see, e.g., item 1406-A in FIG. 14A),

wherein the remote desktop display protocol is a push protocol (see,e.g., item 1408-A in FIG. 14A),

wherein HTTP is a pull protocol (see, e.g., item 1410-A in FIG. 14A).

2. The method of clause 1, wherein the web browser drawing updatecomprises an image file and drawing coordinates for the image file thatare recognizable and processable by the web browser.

3. The method of clause 1, wherein the translating comprises:

translating the remote desktop drawing command into a Java graphicsdrawing command;

updating a portion of a Java bitmap using the Java graphics drawingcommand, wherein the updated portion of the Java bitmap represents aportion of an entire image of the remote desktop;

creating an image file from the Java bitmap; and

generating drawing coordinates for the image file,

wherein the web browser drawing update comprises the image file and thedrawing coordinates for the image file,

wherein the facilitating providing comprises placing the drawingcoordinates into an HTTP header,

wherein utilizing HTTP comprises using an HTTP handler,

wherein the transcoding server is a Java transcoding server that isconfigured to provide an application framework for hosting one or moreweb applications.

4. The method of clause 1, wherein the translating comprises:

translating the remote desktop drawing command into a graphics drawingcommand that is compatible with the transcoding server, wherein thegraphics drawing command includes coordinates;

extracting the coordinates from the graphics drawing command;

updating at least a portion of an off-screen bitmap based on thegraphics drawing command, wherein the at least a portion of theoff-screen bitmap is associated with the coordinates,

wherein the off-screen bitmap is based on the image of the remotedesktop;

creating an image file based on the at least a portion of the off-screenbitmap; and

wherein the web browser drawing update comprises the image file and thecoordinates.

5. The method of clause 1, wherein the web browser is an HTML5compatible web browser.

6. The method of clause 1, comprising:

receiving a user input request from the web browser, using HTTP;

translating the user input request into an input command compatible withthe remote desktop display protocol; and

providing the input command to the remote desktop client for accessingand controlling the remote desktop of the remote machine during theremote desktop session,

wherein the web browser drawing update comprises an image file anddrawing coordinates for the image file that are recognizable andprocessable by the web browser,

wherein the image file and the drawing coordinates represent a portionof an entire image of the remote desktop that has been changed inresponse to the input command.

7. The method of clause 6, wherein the user input request comprises atleast one of a mouse event, a keyboard event, and a touch event.

8. The method of clause 1, wherein the remote desktop drawing commandcomprises remote desktop drawing command parameters and bitmap datareceived from a remote desktop server of the remote machine,

wherein the translating comprises one or more of: calculating newdrawing command parameters based on the remote desktop drawing commandparameters; adjusting the remote desktop drawing command parameters; andmaking adjustments to the bitmap data.

9. The method of clause 1, wherein the remote desktop drawing commandcomprises remote desktop drawing command parameters and bitmap datareceived from a remote desktop server of the remote machine,

wherein the translating comprises making adjustments to the bitmap data,

wherein the making adjustments comprises converting a 16-bitred-green-blue (RGB) 5-6-5 color format into a 32-bitalpha-red-green-blue (ARGB) 8-8-8-8 format.

10. The method of clause 1, wherein the transcoding server is anintermediary between the remote machine and the client device, andwherein the transcoding server is physically separate from the remotemachine.

11. A machine-readable storage medium (see, e.g., machine-readablestorage medium 1400-B of FIG. 14B) encoded with instructions executableby a processing system to perform a method of facilitating accessing andcontrolling a remote desktop of a remote machine (see, e.g., 320 of FIG.3A) in real time by a web browser (see, e.g., 500 of FIG. 5) at a clientdevice (see, e.g., 310 of FIG. 3A) via a hypertext transfer protocol(HTTP) utilizing a transcoding server (see, e.g., 330 of FIG. 3A), theinstructions comprising code for:

receiving, at the transcoding server, a remote desktop drawing commandbased on an image of the remote desktop of the remote machine, whereinthe remote desktop drawing command is compatible with a remote desktopdisplay protocol utilized by the remote machine (see, e.g., item 1402-Bin FIG. 14B);

translating, at the transcoding server, the remote desktop drawingcommand into a web browser drawing update that is compatible with theweb browser (see, e.g., item 1404-A in FIG. 14B); and

facilitating providing the web browser drawing update from thetranscoding server to the web browser of the client device using HTTPduring a remote desktop session between the client device and the remotemachine (see, e.g., item 1406-A in FIG. 14B),

wherein the remote desktop display protocol is a push protocol (see,e.g., item 1408-A in FIG. 14B), and

wherein HTTP is a pull protocol (see, e.g., item 1410-A in FIG. 14B).

12. The machine-readable storage medium of clause 11, wherein the webbrowser drawing update comprises an image file and drawing coordinatesfor the image file that are recognizable and processable by the webbrowser.

13. The machine-readable storage medium of clause 11, wherein thetranslating comprises:

translating the remote desktop drawing command into a Java graphicsdrawing command;

updating a portion of a Java bitmap using the Java graphics drawingcommand, wherein the updated portion of the Java bitmap represents aportion of an entire image of the remote desktop;

creating an image file from the Java bitmap; and

generating drawing coordinates for the image file,

wherein the web browser drawing update comprises the image file and thedrawing coordinates for the image file,

wherein the facilitating providing comprises placing the drawingcoordinates into an HTTP header,

wherein utilizing HTTP comprises using an HTTP handler,

wherein the transcoding server is a Java transcoding server that isconfigured to provide an application framework for hosting one or moreweb applications.

14. The machine-readable storage medium of clause 11, wherein thetranslating comprises:

translating the remote desktop drawing command into a graphics drawingcommand that is compatible with the transcoding server, wherein thegraphics drawing command includes coordinates;

extracting the coordinates from the graphics drawing command;

updating at least a portion of an off-screen bitmap based on thegraphics drawing command, wherein the at least a portion of theoff-screen bitmap is associated with the coordinates,

wherein the off-screen bitmap is based on the image of the remotedesktop;

creating an image file based on the at least a portion of the off-screenbitmap; and

wherein the web browser drawing update comprises the image file and thecoordinates.

15. The machine-readable storage medium of clause 11, wherein the webbrowser is an HTML5 compatible web browser.

16. The machine-readable storage medium of clause 11, wherein theinstructions comprise code for:

receiving a user input request from the web browser, using HTTP;

translating the user input request into an input command compatible withthe remote desktop display protocol; and

providing the input command to the remote desktop client for accessingand controlling the remote desktop of the remote machine during theremote desktop session;

wherein the web browser drawing update comprises an image file anddrawing coordinates for the image file that are recognizable andprocessable by the web browser; and

wherein the image file and the drawing coordinates represent a portionof an entire image of the remote desktop that has been changed inresponse to the input command.

17. The machine-readable storage medium of clause 16, wherein the userinput request comprises at least one of a mouse event, a keyboard event,and a touch event.

18. The machine-readable storage medium of clause 11, wherein the remotedesktop drawing command comprises remote desktop drawing commandparameters and bitmap data received from a remote desktop server of theremote machine,

wherein the translating comprises one or more of: calculating newdrawing command parameters based on the remote desktop drawing commandparameters; adjusting the remote desktop drawing command parameters; andmaking adjustments to the bitmap data.

19. The machine-readable storage medium of clause 11, wherein the remotedesktop drawing command comprises remote desktop drawing commandparameters and bitmap data received from a remote desktop server of theremote machine,

wherein the translating comprises making adjustments to the bitmap data,

wherein the making adjustments comprises converting a 16-bitred-green-blue (RGB) 5-6-5 color format into a 32-bitalpha-red-green-blue (ARGB) 8-8-8-8 format.

20. The machine-readable storage medium of clause 11, wherein thetranscoding server is an intermediary between the remote machine and theclient device, and wherein the transcoding server is physically separatefrom the remote machine.

21. A computing machine comprising the machine-readable storage mediumof clause 11, wherein the computing machine is the transcoding server.

22. An apparatus for facilitating accessing and controlling a remotedesktop of a remote machine (see, e.g., 320 of FIG. 3A) in real time bya web browser (see, 500 of FIG. 5) at a client device (see, e.g., 310 ofFIG. 3A) via a hypertext transfer protocol (HTTP) utilizing atranscoding server (see, e.g., 330 of FIG. 3A), the apparatuscomprising:

means for receiving a remote desktop drawing command based on an imageof the remote desktop of the remote machine, wherein the remote desktopdrawing command is compatible with a remote desktop display protocolutilized by the remote machine (see, e.g., item 1402-C in FIG. 14C);

means for translating the remote desktop drawing command into a webbrowser drawing update that is compatible with the web browser (see,e.g., item 1404-C in FIG. 14C); and

means for facilitating providing the web browser drawing update from thetranscoding server to the web browser of the client device utilizingHTTP during a remote desktop session between the client device and theremote machine (see, e.g., item 1406-C in FIG. 14C);

wherein the remote desktop display protocol is a push protocol (see,e.g., item 1408-C in FIG. 14C); and

wherein HTTP is a pull protocol (see, e.g., item 1410-C in FIG. 14C).

23. The apparatus of clause 22, wherein the web browser drawing updatecomprises an image file and drawing coordinates for the image file thatare recognizable and processable by the web browser.

24. The apparatus of clause 22, wherein the means for translatingcomprises:

means for translating the remote desktop drawing command into a Javagraphics drawing command;

means for updating a portion of a Java bitmap using the Java graphicsdrawing command, wherein the updated portion of the Java bitmaprepresents a portion of an entire image of the remote desktop;

means for creating an image file from the Java bitmap; and

means for generating drawing coordinates for the image file,

wherein the web browser drawing update comprises the image file and thedrawing coordinates for the image file,

wherein the means for facilitating providing comprises means for placingthe drawing coordinates into an HTTP header,

wherein utilizing HTTP comprises utilizing an HTTP handler, and

wherein the transcoding server is a Java transcoding server that isconfigured to provide an application framework for hosting one or moreweb applications.

25. The apparatus of clause 22, wherein the means for translatingcomprises:

means for translating the remote desktop drawing command into a graphicsdrawing command that is compatible with the transcoding server, whereinthe graphics drawing command includes coordinates;

means for extracting the coordinates from the graphics drawing command;

means for updating at least a portion of an off-screen bitmap based onthe graphics drawing command, wherein the at least a portion of theoff-screen bitmap is associated with the coordinates, wherein theoff-screen bitmap is based on the image of the remote desktop; and

means for creating an image file based on the at least a portion of theoff-screen bitmap;

wherein the web browser drawing update comprises the image file and thecoordinates.

26. The apparatus of clause 22, wherein the web browser is an HTML5compatible web browser.

27. The apparatus of clause 22, comprising:

means for receiving a user input request from the web browser, usingHTTP;

means for translating the user input request into an input commandcompatible with the remote desktop display protocol; and

means for providing the input command to the remote desktop client foraccessing and controlling the remote desktop of the remote machineduring the remote desktop session;

wherein the web browser drawing update comprises an image file anddrawing coordinates for the image file that are recognizable andprocessable by the web browser; and

wherein the image file and the drawing coordinates represent a portionof an entire image of the remote desktop that has been changed inresponse to the input command.

28. The apparatus of clause 27, wherein the user input request comprisesat least one of a mouse event, a keyboard event, and a touch event.

29. The apparatus of clause 22, wherein the remote desktop drawingcommand comprises remote desktop drawing command parameters and bitmapdata received from a remote desktop server of the remote machine,

wherein the means for translating comprises one or more of: means forcalculating new drawing command parameters based on the remote desktopdrawing command parameters; means for adjusting the remote desktopdrawing command parameters; and means for making adjustments to thebitmap data.

30. The apparatus of clause 22, wherein the remote desktop drawingcommand comprises remote desktop drawing command parameters and bitmapdata received from a remote desktop server,

wherein the means for translating comprises means for making adjustmentsto the bitmap data of the remote machine,

wherein the means for making adjustments comprises means for convertinga 16-bit red-green-blue (RGB) 5-6-5 color format into a 32-bitalpha-red-green-blue (ARGB) 8-8-8-8 format.

31. The apparatus of clause 22, wherein the transcoding server is anintermediary between the remote machine and the client device, andwherein the transcoding server is physically separate from the remotemachine.

32. The apparatus of clause 22, wherein the apparatus comprises thetranscoding server.

33. The apparatus of clause 22, wherein the apparatus comprises aprocessing system and a memory.

Illustration of Method/Apparatus/Machine Readable Storage Medium forfacilitating conducting a remote desktop session between a web browserof a client device and a remote machine via a transcoding server in realtime and utilizing hypertext markup language that supports atwo-dimensional (2D) canvas and dynamic drawing (described as Clauses).

The subject technology is illustrated, for example, according to variousaspects described below. Various examples of aspects of the subjecttechnology are described as numbered clauses (1, 2, 3, etc.) forconvenience. These are provided as examples, and do not limit thesubject technology. Clause 1 below is presented, for example, withreference to FIGS. 15A-15C. It is noted that any of the dependentclauses may be combined in any combination, and placed into a respectiveindependent clause, e.g., clauses 1, 11, and 22. The other clauses canbe presented in a similar manner.

1. A method (see, e.g., item 1500-A in FIG. 15A) of facilitatingconducting a remote desktop session between a web browser of a clientdevice (see, e.g., 310 in FIG. 3A) and a remote machine (see, e.g., 320)via a transcoding server (see, e.g., 330) in real time and utilizinghypertext markup language that supports a two-dimensional (2D) canvasand dynamic drawing, the method comprising:

receiving, at the transcoding server, a user input request from the webbrowser of the client device for access and control of the remotemachine, wherein the web browser supports a 2D canvas and dynamicdrawing (see, e.g., item 1502-A in FIG. 15A);

translating, at the transcoding server, the user input request into aninput command compatible with a remote desktop display protocol to beutilized by the transcoding server for facilitating communication withthe remote machine (see, e.g., item 1504-A in FIG. 15A);

receiving, at the transcoding server, a remote desktop drawing commandfrom the remote machine in response to the input command (see, e.g.,item 1506-A in FIG. 15A);

translating, at the transcoding server, the remote desktop drawingcommand into a drawing update compatible with the hypertext markuplanguage (see, e.g., item 1508-A in FIG. 15A); and

facilitating providing the drawing update from the transcoding server tothe web browser (see, e.g., item 1510-A in FIG. 15A);

wherein the transcoding server is an intermediary between the remotemachine and the client device, and wherein the transcoding server isphysically separate from the remote machine.

2. The method of clause 1, wherein the translating the remote desktopdrawing command comprises:

translating the remote desktop drawing command into a Java graphicsdrawing command;

executing the Java graphics drawing command to update a portion of aJava bitmap, wherein the Java bitmap represents an entire image of aremote desktop of the remote machine;

generating coordinates for the updated portion of the Java bitmap basedon the updated portion of Java graphics drawing command;

forming an image file based on the updated portion of Java bitmap,wherein the image file is compatible with HTML5, and

obtaining drawing coordinates for the image file based on thecoordinates for the updated portion of the Java bitmap, wherein thedrawing coordinates are compatible with HTML5,

wherein the drawing update comprises the image file and the drawingcoordinates for the image file,

wherein the drawing update represents a portion of the entire image ofthe remote desktop,

wherein the web browser temporarily comprises JavaScript client codeduring the remote desktop session while the remote desktop sessionpersists;

wherein the method comprises receiving, at the transcoding server,drawing requests from the JavaScript client code of the web browser,

wherein the facilitating providing the drawing update comprisesfacilitating providing the drawing update from the transcoding server tothe JavaScript client code of the web browser in response to one of thedrawing requests from the JavaScript client code of the web browser.

3. The method of clause 1, wherein the translating the remote desktopdrawing command comprises:

translating the remote desktop drawing command into a graphics drawingcommand compatible with the transcoding server;

updating a portion of a bitmap based on the graphics drawing command,wherein the updated portion of the bitmap represents a portion of anentire image of a remote desktop of the remote machine that has changedrelative to a previous graphics drawing command;

generating coordinates for the updated portion of the bitmap;

forming an image file based on the updated portion of the bitmap,wherein the image file is HTML5 compatible; and

obtaining drawing coordinates for the image file, wherein the drawingcoordinates are compatible with HTML5,

wherein the drawing update comprises the image file and the drawingcoordinates for the image file,

wherein the method comprises receiving, at the transcoding server,drawing requests from the web browser,

wherein the facilitating providing the drawing update comprisesfacilitating providing the drawing update from the transcoding server tothe web browser in response to one of the drawing requests from the webbrowser.

4. The method of clause 1, wherein the transcoding server comprises aremote desktop client adapter configured to translate the user inputrequest into the input command compatible with the remote desktopdisplay protocol and to translate the remote desktop drawing commandinto the graphics drawing command.

5. The method of clause 1, comprising receiving long polling HTTPrequests from the web browser, wherein the long polling HTTP requestscomprise drawing requests.

6. The method of clause 1, comprising receiving from the web browser aninitial HTTP request comprising a uniform resource locator (URL) of theremote machine.

7. The method of clause 6, comprising facilitating providing a scriptclient code to the web browser in response to the initial HTTP requestfor the URL of the remote machine, wherein the script client code iscompatible with HTML5.

8. The method of clause 1, wherein the remote desktop drawing command iscompatible with the remote desktop display protocol, wherein the remotedesktop display protocol is a push protocol, and wherein thefacilitating providing the drawing update comprises facilitatingproviding the drawing update using HTTP that is a pull protocol.

9. The method of clause 1, wherein dynamic drawing comprises drawing inreal time a portion of the 2D canvas, rather than drawing the entire 2Dcanvas, in response to one or more drawing requests of a script clientof the web browser.

10. The method of clause 1, wherein the 2D canvas is updatable by aportion at a time according to a set of coordinates.

11. A machine-readable storage medium (see, e.g., 1210, 1219 in FIG. 12)encoded with instructions executable by a processing system (see, e.g.,1202) to perform a method of facilitating conducting a remote desktopsession between a web browser of a client device (see, e.g., 310 in FIG.3A) and a remote machine (see, e.g., 320) via a transcoding server (see,e.g., 330) in real time and utilizing hypertext markup language thatsupports a two-dimensional (2D) canvas and dynamic drawing, theinstructions comprising code for:

receiving, at the transcoding server, a user input request from the webbrowser of the client device for access and control of the remotemachine, wherein the web browser supports a 2D canvas and dynamicdrawing (see, e.g., item 1502-B in FIG. 15B);

translating, at the transcoding server, the user input request into aninput command compatible with a remote desktop display protocol to beutilized by the transcoding server for facilitating communication withthe remote machine (see, e.g., item 1504-B in FIG. 15B);

receiving, at the transcoding server, a remote desktop drawing commandfrom the remote machine in response to the input command (see, e.g.,item 1506-B in FIG. 15B);

translating, at the transcoding server, the remote desktop drawingcommand into a drawing update compatible with the hypertext markuplanguage (see, e.g., item 1508-B in FIG. 15B); and

facilitating providing the drawing update from the transcoding server tothe web browser (see, e.g., item 1510-B in FIG. 15B);

wherein the transcoding server is an intermediary between the remotemachine and the client device, and wherein the transcoding server isphysically separate from the remote machine.

12. The machine-readable storage medium of clause 11, wherein thetranslating the remote desktop drawing command comprises:

translating the remote desktop drawing command into a Java graphicsdrawing command;

executing the Java graphics drawing command to update a portion of aJava bitmap, wherein the Java bitmap represents an entire image of aremote desktop of the remote machine;

generating coordinates for the updated portion of the Java bitmap basedon the Java graphics drawing command;

forming an image file based on the updated portion of the Java bitmap,wherein the image file is compatible with HTML5; and

obtaining drawing coordinates for the image file based on thecoordinates for the updated portion of the Java bitmap, wherein thedrawing coordinates are compatible with HTML5,

wherein the drawing update comprises the image file and the drawingcoordinates for the image file,

wherein the drawing update represents a portion of the entire image ofthe remote desktop,

wherein the web browser temporarily comprises JavaScript client codeduring the remote desktop session while the remote desktop sessionpersists;

wherein the method comprises receiving, at the transcoding server,drawing requests from the JavaScript client code of the web browser,

wherein the facilitating providing the drawing update comprisesfacilitating providing the drawing update from the transcoding server tothe JavaScript client code of the web browser in response to one of thedrawing requests from the JavaScript client code of the web browser.

13. The machine-readable storage medium of clause 11, wherein thetranslating the remote desktop drawing command comprises:

translating the remote desktop drawing command into a graphics drawingcommand compatible with the transcoding server;

updating a portion of a bitmap based on the graphics drawing command,wherein the updated portion of the bitmap represents a portion of anentire image of a remote desktop of the remote machine that has changedrelative to a previous graphics drawing command;

generating coordinates for the updated portion of the bitmap;

forming an image file based on the updated portion of the bitmap,wherein the image file is HTML5 compatible; and

obtaining drawing coordinates for the image file, wherein the drawingcoordinates are compatible with HTML5,

wherein the drawing update comprises the image file and the drawingcoordinates for the image file,

wherein the method comprises receiving, at the transcoding server,drawing requests from the web browser, and

wherein the facilitating providing the drawing update comprisesfacilitating providing the drawing update from the transcoding server tothe web browser in response to one of the drawing requests from the webbrowser.

14. The machine-readable storage medium of clause 11, wherein thetranscoding server comprises a remote desktop client adapter configuredto translate the user input request into the input command compatiblewith the remote desktop display protocol and to translate the remotedesktop drawing command into the graphics drawing command.

15. The machine-readable storage medium of clause 11, comprising codefor receiving long polling HTTP requests from the web browser, whereinthe long polling HTTP requests comprise drawing requests.

16. The machine-readable storage medium of clause 11, comprising codefor receiving from the web browser an initial HTTP request comprising auniform resource locator (URL) of the remote machine.

17. The machine-readable storage medium of clause 16, comprising codefor facilitating providing a script client code to the web browser inresponse to the initial HTTP request for the URL of the remote machine,wherein the script client code is compatible with HTML5.

18. The machine-readable storage medium of clause 11, wherein the remotedesktop drawing command is compatible with the remote desktop displayprotocol, wherein the remote desktop display protocol is a pushprotocol, and wherein the facilitating providing the drawing updatecomprises facilitating providing the drawing update using HTTP that is apull protocol.

19. The machine-readable storage medium of clause 11, wherein dynamicdrawing comprises drawing in real time a portion of the 2D canvas,rather than drawing the entire 2D canvas, in response to one or moredrawing requests of a script client of the web browser.

20. The machine-readable storage medium of clause 11, wherein the 2Dcanvas is updatable by a portion at a time according to a set ofcoordinates.

21. A computing machine comprising the machine-readable storage mediumof clause 11, wherein the computing machine is the transcoding server.

22. An apparatus (see, e.g., item 1500-C in FIG. 15C) for facilitatingconducting a remote desktop session between a web browser of a clientdevice (see, e.g., 310 in FIG. 3A) and a remote machine (see, e.g., 320)via a transcoding server (see, e.g., 330) in real time and utilizinghypertext markup language that supports a two-dimensional (2D) canvasand dynamic drawing, the apparatus comprising:

means for receiving a user input request from the web browser of theclient device for access and control of the remote machine, wherein theweb browser supports a 2D canvas and dynamic drawing (see, e.g., item1502-C in FIG. 15C);

means for translating the user input request into an input commandcompatible with a remote desktop display protocol to be utilized by thetranscoding server for facilitating communication with the remotemachine (see, e.g., item 1504-C in FIG. 15C);

means for receiving a remote desktop drawing command from the remotemachine in response to the input command (see, e.g., item 1506-C in FIG.15C);

means for translating the remote desktop drawing command into a drawingupdate compatible with the hypertext markup language (see, e.g., item1508-C in FIG. 15C); and

means for facilitating providing the drawing update from the transcodingserver to the web browser (see, e.g., item 1510-C in FIG. 15C);

wherein the transcoding server is an intermediary between the remotemachine and the client device, and wherein the transcoding server isphysically separate from the remote machine.

23. The apparatus of clause 22, wherein the means for translating theremote desktop drawing command comprises:

means for translating the remote desktop drawing command into a Javagraphics drawing command;

means for executing the Java graphics drawing command to update aportion of a Java bitmap, wherein the Java bitmap represents an entireimage of a remote desktop of the remote machine;

means for generating coordinates for the updated portion of the Javabitmap based on the Java graphics drawing command;

means for forming an image file based on the updated portion of the Javabitmap, wherein the image file is compatible with HTML5; and

means for obtaining drawing coordinates for the image file based on thecoordinates for the updated portion of the Java bitmap, wherein thedrawing coordinates are compatible with HTML5,

wherein the drawing update comprises the image file and the drawingcoordinates for the image file,

wherein the drawing update represents a portion of the entire image ofthe remote desktop,

wherein the web browser temporarily comprises JavaScript client codeduring the remote desktop session while the remote desktop sessionpersists,

wherein the apparatus comprises means for receiving drawing requestsfrom the JavaScript client code of the web browser,

wherein the means for facilitating providing the drawing updatecomprises means for facilitating providing the drawing update from thetranscoding server to the JavaScript client code of the web browser inresponse to one of the drawing requests from the JavaScript client codeof the web browser.

24. The apparatus of clause 22, wherein the means for translating theremote desktop drawing command comprises:

means for translating the remote desktop drawing command into a graphicsdrawing command compatible with the transcoding server;

means for updating a portion of a bitmap based on the graphics drawingcommand, wherein the updated portion of the bitmap represents a portionof an entire image of a remote desktop of the remote machine that haschanged relative to a previous graphics drawing command;

means for generating coordinates for the updated portion of the bitmap;

means for forming an image file based on the updated portion of thebitmap, wherein the image file is HTML5 compatible; and

means for obtaining drawing coordinates for the image file, wherein thedrawing coordinates are compatible with HTML5,

wherein the drawing update comprises the image file and the drawingcoordinates for the image file,

wherein the apparatus comprises means for receiving drawing requestsfrom the web browser,

wherein the means for facilitating providing the drawing updatecomprises means for facilitating providing the drawing update from thetranscoding server to the web browser in response to one of the drawingrequests from the web browser.

25. The apparatus of clause 22, wherein the transcoding server comprisesa remote desktop client adapter configured to translate the user inputrequest into the input command compatible with the remote desktopdisplay protocol and to translate the remote desktop drawing commandinto the graphics drawing command.

26. The apparatus of clause 22, comprising means for receiving longpolling HTTP requests from the web browser, wherein the long pollingHTTP requests comprise drawing requests.

27. The apparatus of clause 22, comprising means for receiving from theweb browser an initial HTTP request comprising a uniform resourcelocator (URL) of the remote machine.

28. The apparatus of clause 27, comprising means for facilitatingproviding a script client code to the web browser in response to theinitial HTTP request for the URL of the remote machine, wherein thescript client code is compatible with HTML5.

29. The apparatus of clause 22, wherein the remote desktop drawingcommand is compatible with the remote desktop display protocol, whereinthe remote desktop display protocol is a push protocol, and wherein themeans for facilitating providing the drawing update comprises means forfacilitating providing the drawing update using HTTP that is a pullprotocol.

30. The apparatus of clause 22, wherein dynamic drawing comprisesdrawing in real time a portion of the 2D canvas, rather than drawing theentire 2D canvas, in response to one or more drawing requests of ascript client of the web browser.

31. The apparatus of clause 22, wherein the 2D canvas is updatable by aportion at a time according to a set of coordinates.

32. The apparatus of clause 22, wherein the apparatus comprises thetranscoding server.

33. The apparatus of clause 22, wherein the apparatus comprises aprocessing system and a memory.

Illustration of Method/Apparatus/Machine Readable Storage Medium forfacilitating a remote desktop session between a web browser of a clientdevice and a remote machine through a transcoding server, utilizinghypertext transfer protocol (HTTP) headers of HTTP for remote desktopsession drawing (described as Clauses).

The subject technology is illustrated, for example, according to variousaspects described below. Various examples of aspects of the subjecttechnology are described as numbered clauses (1, 2, 3, etc.) forconvenience. These are provided as examples, and do not limit thesubject technology. It is noted that any of the dependent clauses may becombined in any combination, and placed into a respective independentclause, e.g., clauses 1, 11, and 22. Clause 1 below is presented, forexample, with reference to FIGS. 16A-16C. The other clauses can bepresented in a similar manner.

1. A method (see, e.g., item 1600-A in FIG. 16A) of facilitating aremote desktop session between a web browser of a client device (see,e.g., 310 in FIG. 3A) and a remote machine (see, e.g., 320) through atranscoding server (see, e.g., 330), utilizing hypertext transferprotocol (HTTP) headers of HTTP for remote desktop session drawing, themethod comprising:

receiving, at the transcoding server, drawing requests from the webbrowser of the client device (see, e.g., item 1602-A in FIG. 16A);

receiving, at the transcoding server, a remote desktop drawing commandfrom the remote machine using a remote desktop display protocol, whereinthe remote desktop drawing command is based on an image of a remotedesktop of the remote machine (see, e.g., item 1604-A in FIG. 16A);

translating, at the transcoding server, the remote desktop drawingcommand into a display image and drawing coordinates for the displayimage (see, e.g., item 1606-A in FIG. 16A);

placing, at the transcoding server, the drawing coordinates into an HTTPresponse header (see, e.g., item 1608-A in FIG. 16A); and

in response to at least one of the drawing requests, facilitatingproviding the display image and the drawing coordinates together to theweb browser in a single HTTP response, for drawing the display image ofthe remote desktop at the web browser, wherein the single HTTP responsecomprises the HTTP response header (see, e.g., item 1610-A in FIG. 16A),

wherein the remote desktop display protocol is a push protocol, and

wherein HTTP is a pull protocol.

2. The method of clause 1, wherein the translating comprises:

translating the remote desktop drawing command into a Java graphicsdrawing command, wherein the transcoding server comprises a Javacompatible web application container;

updating a portion of a Java graphics bitmap of the remote desktop inresponse to the Java graphics drawing command;

generating coordinates for the updated portion of the Java bitmap fromthe Java graphics drawing command;

generating the display image compatible with the web browser based onthe updated portion of the Java bitmap; and

obtaining the drawing coordinates for the display image based on thecoordinates for the updated portion of the Java bitmap,

wherein the display image and the drawing coordinates are compatiblewith HTML,

wherein the updated portion of the Java graphics bitmap represents aportion of an entire image of the remote desktop of the remote machine,

wherein the display image and the drawing coordinates represent theportion of the entire image of the remote desktop of the remote machine.

3. The method of clause 1, wherein the translating comprises:

translating the remote desktop drawing command into a graphics drawingcommand compatible with the transcoding server;

updating a portion of a bitmap of the remote desktop based on thegraphics drawing command;

generating the coordinates for the updated portion of the bitmap;

generating the display image compatible with the web browser based onthe updated portion of the bitmap; and

obtaining the drawing coordinates for the display image,

wherein the display image and the drawing coordinates are compatiblewith HTML.

4. The method of clause 1, wherein the display image and the drawingcoordinates are compatible with HTML5.

5. The method of clause 1, wherein the transcoding server is anintermediary between the remote machine and the client device, andwherein the transcoding server is physically separate from the remotemachine.

6. The method of clause 1, wherein the remote desktop drawing commandcomprises coordinates of a region of the remote desktop that has changedrelative to a previous remote desktop drawing command.

7. The method of clause 6, wherein the coordinates specify a redrawingregion.

8. The method of clause 1, wherein the drawing coordinates arecompatible with JavaScript client code of the web browser, and whereinthe display image is compatible with HTML of the web browser.

9. The method of clause 1, wherein the display image comprises a scaledimage of the remote desktop.

10. The method of clause 1, wherein the display image comprises anoffset image of the remote desktop.

11. A machine-readable storage medium (see, e.g., 1210, 1219 in FIG. 12)encoded with instructions executable by a processing system (see, e.g.,1202) to perform a method of facilitating a remote desktop sessionbetween a web browser of a client device (see, e.g., 310 in FIG. 3A) anda remote machine (see, e.g., 320) through a transcoding server (see,e.g., 330), utilizing hypertext transfer protocol (HTTP) headers of HTTPfor remote desktop session drawing, the instructions comprising codefor:

receiving, at the transcoding server, drawing requests from the webbrowser of the client device (see, e.g., item 1602-B in FIG. 16B);

receiving, at the transcoding server, a remote desktop drawing commandfrom the remote machine using a remote desktop display protocol, whereinthe remote desktop drawing command is based on an image of a remotedesktop of the remote machine (see, e.g., item 1604-B in FIG. 16B);

translating, at the transcoding server, the remote desktop drawingcommand into a display image and drawing coordinates for the displayimage (see, e.g., item 1606-B in FIG. 16B);

placing, at the transcoding server, the drawing coordinates into an HTTPresponse header (see, e.g., item 1608-B in FIG. 16B); and

in response to at least one of the drawing requests, facilitatingproviding the display image and the drawing coordinates together to theweb browser in a single HTTP response, for drawing the display image ofthe remote desktop at the web browser, wherein the single HTTP responsecomprises the HTTP response header (see, e.g., item 1610-B in FIG. 16B),

wherein the remote desktop display protocol is a push protocol, and

wherein HTTP is a pull protocol.

12. The machine-readable storage medium of clause 11, wherein thetranslating comprises:

translating the remote desktop drawing command into a Java graphicsdrawing command, wherein the transcoding server comprises a Javacompatible web application container;

updating a portion of a Java graphics bitmap of the remote desktop inresponse to the Java graphics drawing command;

generating coordinates for the updated portion of the Java bitmap fromthe Java graphics drawing command;

generating the display image compatible with the web browser based onthe updated portion of the Java bitmap; and

obtaining the drawing coordinates for the display image based on thecoordinates for the updated portion of the Java bitmap,

wherein the display image and the drawing coordinates are compatiblewith HTML,

wherein the updated portion of the Java graphics bitmap represents aportion of an entire image of the remote desktop of the remote machine,

wherein the display image and the drawing coordinates represent theportion of the entire image of the remote desktop of the remote machine.

13. The machine-readable storage medium of clause 11, wherein thetranslating comprises:

translating the remote desktop drawing command into a graphics drawingcommand compatible with the transcoding server;

updating a portion of a bitmap of the remote desktop based on thegraphics drawing command;

generating the coordinates for the updated portion of the bitmap;

generating the display image compatible with the web browser based onthe updated portion of the bitmap; and

obtaining the drawing coordinates for the display image,

wherein the display image and the drawing coordinates are compatiblewith HTML.

14. The machine-readable storage medium of clause 11, wherein thedisplay image and the drawing coordinates are compatible with HTML5.

15. The machine-readable storage medium of clause 11, wherein thetranscoding server is an intermediary between the remote machine and theclient device, and wherein the transcoding server is physically separatefrom the remote machine.

16. The machine-readable storage medium of clause 11, wherein the remotedesktop drawing command comprises coordinates of a region of the remotedesktop that has changed relative to a previous remote desktop drawingcommand.

17. The machine-readable storage medium of clause 16, wherein thecoordinates specify a redrawing region.

18. The machine-readable storage medium of clause 11, wherein thedrawing coordinates are compatible with JavaScript client code of theweb browser, and wherein the display image is compatible with HTML ofthe web browser.

19. The machine-readable storage medium of clause 11, wherein thedisplay image comprises a scaled image of the remote desktop.

20. The machine-readable storage medium of clause 11, wherein thedisplay image comprises an offset image of the remote desktop.

21. A computing machine comprising the machine-readable storage mediumof clause 11, wherein the computing machine is the transcoding server.

22. An apparatus (see, e.g., item 1600-C in FIG. 16C) for facilitating aremote desktop session between a web browser of a client device (see,e.g., 310 in FIG. 3A) and a remote machine (see, e.g., 320) through atranscoding server (see, e.g., 330), utilizing hypertext transferprotocol (HTTP) headers of HTTP for remote desktop session drawing, theapparatus comprising:

means for receiving drawing requests from the web browser of the clientdevice (see, e.g., item 1602-C in FIG. 16C);

means for receiving a remote desktop drawing command from the remotemachine using a remote desktop display protocol, wherein the remotedesktop drawing command is based on an image of a remote desktop of theremote machine (see, e.g., item 1604-C in FIG. 16C);

means for translating the remote desktop drawing command into a displayimage and drawing coordinates for the display image (see, e.g., item1606-C in FIG. 16C);

means for placing the drawing coordinates into an HTTP response header(see, e.g., item 1608-C in FIG. 16C); and

means for, in response to at least one of the drawing requests,facilitating providing the display image and the drawing coordinatestogether to the web browser in a single HTTP response, for drawing thedisplay image of the remote desktop at the web browser, wherein thesingle HTTP response comprises the HTTP response header (see, e.g., item1610-C in FIG. 16C),

wherein the remote desktop display protocol is a push protocol, and

wherein HTTP is a pull protocol.

23. The apparatus of clause 22, wherein the means for translatingcomprises:

means for translating the remote desktop drawing command into a Javagraphics drawing command, wherein the transcoding server comprises aJava compatible web application container;

means for updating a portion of a Java graphics bitmap of the remotedesktop in response to the Java graphics drawing command;

means for generating coordinates for the updated portion of the Javabitmap from the Java graphics drawing command;

means for generating the display image compatible with the web browserbased on the updated portion of the Java bitmap; and

means for obtaining the drawing coordinates for the display image basedon the coordinates for the updated portion of the Java bitmap,

wherein the display image and the drawing coordinates are compatiblewith HTML,

wherein the updated portion of the Java graphics bitmap represents aportion of an entire image of the remote desktop of the remote machine,

wherein the display image and the drawing coordinates represent theportion of the entire image of the remote desktop of the remote machine.

24. The apparatus of clause 22, wherein the means for translatingcomprises:

means for translating the remote desktop drawing command into a graphicsdrawing command compatible with the transcoding server;

means for updating a portion of a bitmap of the remote desktop based onthe graphics drawing command;

means for generating the coordinates for the updated portion of thebitmap;

means for generating the display image compatible with the web browserbased on the updated portion of the bitmap; and

means for obtaining the drawing coordinates for the display image,

wherein the display image and the drawing coordinates are compatiblewith HTML.

25. The apparatus of clause 22, wherein the display image and thedrawing coordinates are compatible with HTML5.

26. The apparatus of clause 22, wherein the transcoding server is anintermediary between the remote machine and the client device, andwherein the transcoding server is physically separate from the remotemachine.

27. The apparatus of clause 22, wherein the remote desktop drawingcommand comprises coordinates of a region of the remote desktop that haschanged relative to a previous remote desktop drawing command.

28. The apparatus of clause 27, wherein the coordinates specify aredrawing region.

29. The apparatus of clause 22, wherein the drawing coordinates arecompatible with JavaScript client code of the web browser, and whereinthe display image is compatible with HTML of the web browser.

30. The apparatus of clause 22, wherein the display image comprises ascaled image of the remote desktop.

31. The apparatus of clause 22, wherein the display image comprises anoffset image of the remote desktop.

32. The apparatus of clause 22, wherein the apparatus comprises thetranscoding server.

33. The apparatus of clause 22, wherein the apparatus comprises aprocessing system and a memory.

Illustration of Method/Apparatus/Machine Readable Storage Medium forfacilitating a remote desktop session between a web browser of a clientdevice and a remote machine through a transcoding server, utilizing longpolling to reduce traffic to the client device (described as Clauses).

The subject technology is illustrated, for example, according to variousaspects described below. Various examples of aspects of the subjecttechnology are described as numbered clauses (1, 2, 3, etc.) forconvenience. These are provided as examples, and do not limit thesubject technology. It is noted that any of the dependent clauses may becombined in any combination, and placed into a respective independentclause, e.g., clauses 1, 11, and 22. Clause 1 below is presented, forexample, with reference to FIGS. 17A-17C. The other clauses can bepresented in a similar manner.

1. A method (see, e.g., 1700-A of FIG. 17A) of facilitating a remotedesktop session between a web browser (see, e.g., 500 of FIG. 5) of aclient device (see, e.g., 310 of FIG. 3A) and a remote machine (see,e.g., 320 of FIG. 3A) through a transcoding server (see, e.g., 330 ofFIG. 3A), utilizing long polling to reduce traffic to the client device,the method comprising:

receiving, at the transcoding server, a plurality of drawing requestsfrom the web browser of the client device, using HTTP, wherein HTTP is apull protocol (see, e.g., item 1702-A in FIG. 17A);

handling, at the transcoding server, the plurality of drawing requestsas long polling requests (see, e.g., item 1704-A in FIG. 17A);

receiving, at the transcoding server, a remote desktop drawing commandfrom the remote machine (see, e.g., item 1706-A in FIG. 17A);

translating, at the transcoding server, the remote desktop drawingcommand into a web browser drawing update, wherein the remote desktopdrawing command is compatible with a push protocol, wherein the webbrowser drawing update is compatible with HTTP, wherein HTTP is a pullprotocol (see, e.g., item 1708-A in FIG. 17A); and

facilitating providing the web browser drawing update from thetranscoding server to the web browser of the client device, utilizingHTTP, as a response to at least one of the plurality of drawing requestsfrom the web browser (see, e.g., item 1710-A in FIG. 17A).

2. The method of clause 1, wherein the handling comprises:

determining whether a drawing command is pending at the transcodingserver for the web browser;

if there is no pending drawing command, then storing the plurality ofdrawing requests in a drawing requests queue as long poling requests;and

if there is a pending drawing command, then providing at least one ofthe plurality of drawing requests to an HTTP handler in the transcodingserver to allow the HTTP handler to serve the pending drawing command inresponse to the at least one of the plurality of drawing requests.

3. The method of clause 1, wherein the remote desktop drawing commandrepresents a portion of an entire image of a remote desktop of theremote machine,

wherein the translating comprises:

-   -   translating the remote desktop drawing command into a Java        graphics drawing command;    -   updating a portion of a Java bitmap of the entire image of the        remote desktop in response to the Java graphics drawing command;    -   generating coordinates of the updated portion of the Java bitmap        based on the Java graphics drawing command;    -   generating an image file based on the updated portion of the        Java bitmap, wherein the image file is compatible with the web        browser; and    -   obtaining drawing coordinates for the image file based on the        coordinates of the updated portion of the Java bitmap,

wherein the web browser drawing update comprises the image file and thedrawing coordinates.

4. The method of clause 3, wherein the handling comprises:

determining whether a drawing command is pending at the transcodingserver for the web browser;

if there is no pending drawing command, then storing the plurality ofdrawing requests in a drawing requests queue as long poling requests;and

if there is a pending drawing command, then providing at least one ofthe plurality of drawing requests to an HTTP handler in the transcodingserver to allow the HTTP handler to serve the pending drawing command inresponse to the at least one of the plurality of drawing requests.

5. The method of clause 4, wherein the facilitating providing comprises:

placing, at the HTTP handler, the drawing coordinates into an HTTPheader of a single HTTP transmission response to the web browser; and

including, at the HTTP handler, the image file into the single HTTPtransmission response to the web browser to facilitate providing theimage file and the drawing coordinates together to the web browser inthe single HTTP transmission response.

6. The method of clause 5, comprising:

when a drawing commands queue has new coordinates, sending anotification to the drawing requests queue to allow at least one of theplurality of drawing requests in the drawing requests queue to beforwarded to the HTTP handler.

7. The method of clause 1, comprising:

receiving a new drawing request from the web browser, in response tofacilitating providing the web browser drawing update from thetranscoding server to the web browser of the client device as a responseto the at least one of the plurality of drawing requests from the webbrowser.

8. The method of clause 1, comprising:

receiving a request from the web browser to connect to the remotemachine; and

facilitating providing a JavaScript client code to the web browser inresponse to the request to connect to the remote machine,

wherein the receiving the plurality of drawing requests comprisesreceiving the plurality of drawing requests from the JavaScript clientcode,

wherein the facilitating providing the web browser drawing updatecomprises facilitating providing the web browser drawing update to theJavaScript client code.

9. The method of clause 8, comprising: facilitating deleting theJavaScript client code from the web browser when the remote desktopsession is terminated.

10. The method of clause 1, comprising:

receiving, at the transcoding server, a user input request from the webbrowser for accessing or controlling a remote desktop of the remotemachine,

translating, at the transcoding server, the user input request into aninput command compatible with the push protocol;

facilitating providing the input command to the remote machine utilizingthe push protocol,

wherein the receiving the remote desktop drawing command comprisesreceiving the remote desktop drawing command in response to the inputcommand.

11. A machine-readable storage medium (see, e.g., item 1700-B in FIG.17B) encoded with instructions executable by a processing system toperform a method of facilitating a remote desktop session between a webbrowser (see, e.g., 500 of FIG. 5) of a client device (see, e.g., 310 ofFIG. 3A) and a remote machine (see, e.g., 320 of FIG. 3B) through atranscoding server (see, e.g., 330 of FIG. 3B), utilizing long pollingto reduce traffic to the client device, the instructions comprising codefor:

receiving, at the transcoding server, a plurality of drawing requestsfrom the web browser of the client device, using HTTP, wherein HTTP is apull protocol (see, e.g., item 1702-B in FIG. 17B);

handling, at the transcoding server, the plurality of drawing requestsas long polling requests (see, e.g., item 1704-B in FIG. 17B);

receiving, at the transcoding server, a remote desktop drawing commandfrom the remote machine (see, e.g., item 1706-B in FIG. 17B);

translating, at the transcoding server, the remote desktop drawingcommand into a web browser drawing update, wherein the remote desktopdrawing command is compatible with a push protocol, wherein the webbrowser drawing update is compatible with HTTP, wherein HTTP is a pullprotocol (see, e.g., item 1708-B in FIG. 17B); and

facilitating providing the web browser drawing update from thetranscoding server to the web browser of the client device, utilizingHTTP, as a response to at least one of the plurality of drawing requestsfrom the web browser (see, e.g., item 1710-B in FIG. 17B).

12. The machine-readable storage medium of clause 11, wherein thehandling comprises:

determining whether a drawing command is pending at the transcodingserver for the web browser;

if there is no pending drawing command, then storing the plurality ofdrawing requests in a drawing requests queue as long poling requests;and

if there is a pending drawing command, then providing at least one ofthe plurality of drawing requests to an HTTP handler in the transcodingserver to allow the HTTP handler to serve the pending drawing command inresponse to the at least one of the plurality of drawing requests.

13. The machine-readable storage medium of clause 11, wherein the remotedesktop drawing command represents a portion of an entire image of aremote desktop of the remote machine,

wherein the translating comprises:

-   -   translating the remote desktop drawing command into a Java        graphics drawing command;    -   updating a portion of a Java bitmap of the entire image of the        remote desktop in response to the Java graphics drawing command;    -   generating coordinates of the updated portion of the Java bitmap        based on the Java graphics drawing command;    -   generating an image file based on the updated portion of the        Java bitmap, wherein the image file is compatible with the web        browser; and    -   obtaining drawing coordinates for the image file based on the        coordinates of the updated portion of the Java bitmap,

wherein the web browser drawing update comprises the image file and thedrawing coordinates.

14. The machine-readable storage medium of clause 13, wherein thehandling comprises:

determining whether a drawing command is pending at the transcodingserver for the web browser;

if there is no pending drawing command, then storing the plurality ofdrawing requests in a drawing requests queue as long poling requests;and

if there is a pending drawing command, then providing at least one ofthe plurality of drawing requests to an HTTP handler in the transcodingserver to allow the HTTP handler to serve the pending drawing command inresponse to the at least one of the plurality of drawing requests.

15. The machine-readable storage medium of clause 14, wherein thefacilitating providing comprises:

placing, at the HTTP handler, the drawing coordinates into an HTTPheader of a single HTTP transmission response to the web browser; and

including, at the HTTP handler, the image file into the single HTTPtransmission response to the web browser to facilitate providing theimage file and the drawing coordinates together to the web browser inthe single HTTP transmission response.

16. The machine-readable storage medium of clause 15, comprising codefor:

when a drawing commands queue has new coordinates, sending anotification to the drawing requests queue to allow at least one of theplurality of drawing requests in the drawing requests queue to beforwarded to the HTTP handler.

17. The machine-readable storage medium of clause 11, comprising codefor:

receiving a new drawing request from the web browser, in response tofacilitating providing the web browser drawing update from thetranscoding server to the web browser of the client device as a responseto the at least one of the plurality of drawing requests from the webbrowser.

18. The machine-readable storage medium of clause 11, comprising codefor:

receiving a request from the web browser to connect to the remotemachine; and

facilitating providing a JavaScript client code to the web browser inresponse to the request to connect to the remote machine,

wherein the receiving the plurality of drawing requests comprisesreceiving the plurality of drawing requests from the JavaScript clientcode,

wherein the facilitating providing the web browser drawing updatecomprises facilitating providing the web browser drawing update to theJavaScript client code.

19. The machine-readable storage medium of clause 18, comprising codefor: facilitating deleting the JavaScript client code from the webbrowser when the remote desktop session is terminated.

20. The machine-readable storage medium of clause 11, comprising codefor:

receiving, at the transcoding server, a user input request from the webbrowser for accessing or controlling a remote desktop of the remotemachine,

translating, at the transcoding server, the user input request into aninput command compatible with the push protocol;

facilitating providing the input command to the remote machine utilizingthe push protocol,

wherein the receiving the remote desktop drawing command comprisesreceiving the remote desktop drawing command in response to the inputcommand.

21. A computing machine comprising the machine-readable storage mediumof clause 11, wherein the computing machine is the transcoding server.

22. An apparatus (see, e.g., item 1700-C in FIG. 17C) for facilitating aremote desktop session between a web browser (see, e.g., 500 of FIG. 5)of a client device (see, e.g., 310 in FIG. 3A) and a remote machine(see, e.g., 330 in FIG. 3A) through a transcoding server (see, e.g., 330in FIG. 3A), utilizing long polling to reduce traffic to the clientdevice, the apparatus comprising:

means for receiving a plurality of drawing requests from the web browserof the client device, using HTTP, wherein HTTP is a pull protocol (see,e.g., item 1702-C in FIG. 17C);

means for handling the plurality of drawing requests as long pollingrequests (see, e.g., item 1704-C in FIG. 17C);

means for receiving a remote desktop drawing command from the remotemachine (see, e.g., item 1706-C in FIG. 17C);

means for translating the remote desktop drawing command into a webbrowser drawing update, wherein the remote desktop drawing command iscompatible with a push protocol, wherein the web browser drawing updateis compatible with HTTP, wherein HTTP is a pull protocol (see, e.g.,item 1708-C in FIG. 17C); and

means for facilitating providing the web browser drawing update from thetranscoding server to the web browser of the client device, utilizingHTTP, as a response to at least one of the plurality of drawing requestsfrom the web browser (see, e.g., item 1710-C in FIG. 17C).

23. The apparatus of clause 22, wherein the means for handlingcomprises:

means for determining whether a drawing command is pending at thetranscoding server for the web browser;

means for storing the plurality of drawing requests in a drawingrequests queue as long poling requests if there is no pending drawingcommand; and

means for providing at least one of the plurality of drawing requests toan HTTP handler in the transcoding server, if there is a pending drawingcommand, to allow the HTTP handler to serve the pending drawing commandin response to the at least one of the plurality of drawing requests.

24. The apparatus of clause 22, wherein the remote desktop drawingcommand represents a portion of an entire image of a remote desktop ofthe remote machine,

wherein the means for translating comprises:

-   -   means for translating the remote desktop drawing command into a        Java graphics drawing command;    -   means for updating a portion of a Java bitmap of the entire        image of the remote desktop in response to the Java graphics        drawing command;    -   means for generating coordinates of the updated portion of the        Java bitmap based on the Java graphics drawing command;    -   means for generating an image file based on the updated portion        of the Java bitmap, wherein the image file is compatible with        the web browser; and    -   means for obtaining drawing coordinates for the image file based        on the coordinates of the updated portion of the Java bitmap,

wherein the web browser drawing update comprises the image file and thedrawing coordinates.

25. The apparatus of clause 22, wherein the means for handlingcomprises:

means for determining whether a drawing command is pending at thetranscoding server for the web browser;

means for storing the plurality of drawing requests in a drawingrequests queue as long poling requests if there is no pending drawingcommand; and

means for providing at least one of the plurality of drawing requests toan HTTP handler in the transcoding server, if there is a pending drawingcommand, to allow the HTTP handler to serve the pending drawing commandin response to the at least one of the plurality of drawing requests.

26. The apparatus of clause 22, wherein the means for facilitatingproviding comprises:

means for placing, at the HTTP handler, the drawing coordinates into anHTTP header of a single HTTP transmission response to the web browser;and

means for including, at the HTTP handler, the image file into the singleHTTP transmission response to the web browser to facilitate providingthe image file and the drawing coordinates together to the web browserin the single HTTP transmission response.

27. The apparatus of clause 22, comprising:

means for sending a notification to the drawing requests queue, when adrawing commands queue has new coordinates, to allow at least one of theplurality of drawing requests in the drawing requests queue to beforwarded to the HTTP handler.

28. The apparatus of clause 22, comprising:

means for receiving a new drawing request from the web browser, inresponse to facilitating providing the web browser drawing update fromthe transcoding server to the web browser of the client device as aresponse to the at least one of the plurality of drawing requests fromthe web browser.

29. The apparatus of clause 22, comprising:

means for receiving a request from the web browser to connect to theremote machine; and

means for facilitating providing a JavaScript client code to the webbrowser in response to the request to connect to the remote machine,

wherein the means for receiving the plurality of drawing requestscomprises means for receiving the plurality of drawing requests from theJavaScript client code,

wherein the means for facilitating providing the web browser drawingupdate comprises means for facilitating providing the web browserdrawing update to the JavaScript client code.

30. The apparatus of clause 29, comprising: means for facilitatingdeleting the JavaScript client code from the web browser when the remotedesktop session is terminated.

31. The apparatus of clause 22, comprising:

means for receiving a user input request from the web browser foraccessing or controlling a remote desktop of the remote machine,

means for translating the user input request into an input commandcompatible with the push protocol;

means for facilitating providing the input command to the remote machineutilizing the push protocol,

wherein the means for receiving the remote desktop drawing commandcomprises means for receiving the remote desktop drawing command inresponse to the input command.

32. The apparatus of clause 22, wherein the apparatus comprises thetranscoding server.

33. The apparatus of clause 22, wherein the apparatus comprises aprocessing system and a memory.

Illustration of Method/Apparatus/Machine Readable Storage Medium forfacilitating a remote desktop session between a web browser of a clientdevice and a remote desktop server at a remote machine through atranscoding server, utilizing an adapter at the transcoding server(described as Clauses).

The subject technology is illustrated, for example, according to variousaspects described below. Various examples of aspects of the subjecttechnology are described as numbered clauses (1, 2, 3, etc.) forconvenience. These are provided as examples, and do not limit thesubject technology. It is noted that any of the dependent clauses may becombined in any combination, and placed into a respective independentclause, e.g., clauses 1, 10, and 20. Clause 1 below is presented, forexample, with reference to FIGS. 18A-18C. The other clauses can bepresented in a similar manner.

1. A method (see, e.g., item 1800-A in FIG. 18A) for facilitating aremote desktop session between a web browser of a client device (see,e.g., 310 in FIG. 3A) and a remote desktop server at a remote machine(see, e.g., 320) through a transcoding server (see, e.g., 330),utilizing an adapter (see, e.g., 600 in FIG. 6) at the transcodingserver, the method comprising:

receiving, at the adapter, an input request from the web browserutilizing a request-response protocol, wherein the request-responseprotocol is a pull protocol (see, e.g., item 1802-A in FIG. 18A);

translating, at the adapter, the input request into an input commandcompatible with a remote desktop display protocol to be utilized by aremote desktop client at the transcoding server for facilitatingcommunication with the remote desktop server at the remote machine,wherein the remote desktop display protocol is a push protocol (see,e.g., item 1804-A in FIG. 18A);

providing the input command to a remote desktop client at thetranscoding server, to facilitate providing the input command to theremote desktop server utilizing the remote desktop display protocol(see, e.g., item 1806-A in FIG. 18A);

receiving, at the adapter, a remote desktop drawing command from theremote desktop server in response to the input command, wherein theremote desktop drawing command is based on an image of a remote desktopof the remote machine (see, e.g., item 1808-A in FIG. 18A); and

translating, at the adapter, the remote desktop drawing command into agraphics drawing command compatible with the transcoding server to allowthe transcoding server to facilitate providing a web browser drawingupdate to the web browser, wherein the web browser drawing update iscompatible with the web browser (see, e.g., item 1810-A in FIG. 18A).

2. The method of clause 1, wherein the request-response protocolcomprises hypertext transfer protocol (HTTP), wherein the graphicsdrawing command is a Java graphics drawing command, wherein thetranscoding server is a Java transcoding server, wherein the web browseris HTML5 compatible.

3. The method of clause 1, wherein the receiving the input requestcomprises receiving the input request from the web browser via an HTTPhandler of a web application container at the transcoding server,

wherein the receiving the remote desktop drawing command comprisesreceiving the remote desktop drawing command via the remote desktopclient using the remote desktop display protocol.

4. The method of clause 1, wherein the remote desktop drawing commandcomprises remote desktop drawing command parameters and bitmap datareceived from the remote desktop server,

wherein the translating the remote desktop drawing command comprises oneor more of: calculating new drawing command parameters based on theremote desktop drawing command parameters; adjusting the remote desktopdrawing command parameters; and making adjustments to the bitmap data.

5. The method of clause 1, comprising:

generating an image based on the graphics drawing command; and

generating coordinates for the image based on the graphics drawingcommand,

wherein the image represents a portion of an entire image of the remotedesktop.

6. The method of clause 1, comprising:

executing the graphics drawing command to generate and draw an imageinto a drawing commands queue at the transcoding server that isaccessible by a web application container at the transcoding server forcommunicating with the web browser;

generating coordinates for the image based on the graphics drawingcommand;

storing the coordinates in the drawing commands queue; and

after generating the coordinates, transmitting a notification to the webapplication container that a drawing command is ready to be served tothe web browser,

wherein the graphics drawing command represents a portion of an entireimage of the remote desktop.

7. The method of clause 1, comprising:

receiving, via an HTTP handler of the transcoding server, a connectionrequest from the web browser; and

facilitating establishing, controlling or terminating the remote desktopsession between the remote desktop client and the remote desktop serverin response to the connection request, wherein the facilitating of theestablishing, controlling or terminating comprises:

-   -   generating a session control command based on the connection        request, wherein the session control command is compatible with        the remote desktop display protocol; and    -   facilitating transmitting the session control command to the        remote desktop server via the remote desktop client using the        remote desktop display protocol.

8. The method of clause 7, wherein the session control command comprisesat least one of: a command for starting the remote desktop session, acommand for stopping the remote desktop session, a credential, asetting, a preference, and a command for passing at least one of acredential, a setting, and a preference.

9. The method of clause 1, comprising:

extracting coordinates from the graphics drawing command; and

updating at least a portion of an off-screen bitmap based on thegraphics drawing command, wherein the at least a portion of theoff-screen bitmap is associated with the coordinates, wherein theoff-screen bitmap represents an entire image of the remote desktop.

10. A machine-readable storage medium (see, e.g., 1210, 1219 in FIG. 12)encoded with instructions executable by a processing system (see, e.g.,1202) to perform a method for facilitating a remote desktop sessionbetween a web browser of a client device (see, e.g., 310 in FIG. 3A) anda remote desktop server at a remote machine (see, e.g., 320) through atranscoding server (see, e.g., 330), utilizing an adapter (see, e.g.,600 in FIG. 6) at the transcoding server, the instructions comprisingcode for:

receiving, at the adapter, an input request from the web browserutilizing a request-response protocol, wherein the request-responseprotocol is a pull protocol (see, e.g., item 1802-B in FIG. 18B);

translating, at the adapter, the input request into an input commandcompatible with a remote desktop display protocol to be utilized by aremote desktop client at the transcoding server for facilitatingcommunication with the remote desktop server at the remote machine,wherein the remote desktop display protocol is a push protocol (see,e.g., item 1804-B in FIG. 18B);

providing the input command to a remote desktop client at thetranscoding server, to facilitate providing the input command to theremote desktop server utilizing the remote desktop display protocol(see, e.g., item 1806-B in FIG. 18B);

receiving, at the adapter, a remote desktop drawing command from theremote desktop server in response to the input command, wherein theremote desktop drawing command is based on an image of a remote desktopof the remote machine (see, e.g., item 1808-B in FIG. 18B); and

translating, at the adapter, the remote desktop drawing command into agraphics drawing command compatible with the transcoding server to allowthe transcoding server to facilitate providing a web browser drawingupdate to the web browser, wherein the web browser drawing update iscompatible with the web browser (see, e.g., item 1810-B in FIG. 18B).

11. The machine-readable storage medium of clause 10, wherein therequest-response protocol comprises hypertext transfer protocol (HTTP),wherein the graphics drawing command is a Java graphics drawing command,wherein the transcoding server is a Java transcoding server, wherein theweb browser is HTML5 compatible.

12. The machine-readable storage medium of clause 10, wherein thereceiving the input request comprises receiving the input request fromthe web browser via an HTTP handler of an application container at thetranscoding server,

wherein the receiving the remote desktop drawing command comprisesreceiving the remote desktop drawing command via the remote desktopclient using the remote desktop display protocol.

13. The machine-readable storage medium of clause 10, wherein the remotedesktop drawing command comprises remote desktop drawing commandparameters and bitmap data received from the remote desktop server,

wherein the translating the remote desktop drawing command comprises oneor more of: calculating new drawing command parameters based on theremote desktop drawing command parameters; adjusting the remote desktopdrawing command parameters; and making adjustments to the bitmap data.

14. The machine-readable storage medium of clause 10, wherein theinstructions comprise code for:

generating an image based on the graphics drawing command; and

generating coordinates for the image based on the graphics drawingcommand,

wherein the image represents a portion of an entire image of the remotedesktop.

15. The machine-readable storage medium of clause 10, wherein theinstructions comprise code for:

executing the graphics drawing command to generate and draw an imageinto a drawing commands queue at the transcoding server that isaccessible by a web application container at the transcoding server forcommunicating with the web browser;

generating coordinates for image based on the graphics drawing command;

storing the coordinates in the drawing commands queue; and

after generating the coordinates, transmitting a notification to the webapplication container that a drawing command is ready to be served tothe web browser,

wherein the graphics drawing command represents a portion of an entireimage of the remote desktop.

16. The machine-readable storage medium of clause 10, wherein theinstructions comprise code for:

receiving, via an HTTP handler of the transcoding server, a connectionrequest from the web browser; and

facilitating establishing, controlling or terminating the remote desktopsession between the remote desktop client and the remote desktop serverin response to the connection request, wherein the facilitating of theestablishing, controlling or terminating comprises:

-   -   generating a session control command based on the connection        request, wherein the session control command is compatible with        the remote desktop display protocol; and    -   facilitating transmitting the session control command to the        remote desktop server via the remote desktop client using the        remote desktop display protocol.

17. The machine-readable storage medium of clause 16, wherein thesession control command comprises at least one of: a command forstarting the remote desktop session, a command for stopping the remotedesktop session, a credential, a setting, a preference, and a commandfor passing at least one of a credential, a setting, and a preference.

18. The machine-readable storage medium of clause 10, wherein theinstructions comprise code for:

extracting coordinates from the graphics drawing command; and

updating at least a portion of an off-screen bitmap based on thegraphics drawing command, wherein the at least a portion of theoff-screen bitmap is associated with the coordinates, wherein theoff-screen bitmap represents an entire image of the remote desktop.

19. A computing machine comprising the machine-readable storage mediumof clause 10, wherein the computing machine is the transcoding server.

20. An apparatus (see, e.g., item 1800-C in FIG. 18C) for facilitating aremote desktop session between a web browser of a client device (see,e.g., 310 in FIG. 3A) and a remote desktop server at a remote machine(see, e.g., 320) through a transcoding server (see, e.g., 330),utilizing an adapter (see, e.g., 600 in FIG. 6) at the transcodingserver, the apparatus comprising:

means for receiving an input request from the web browser utilizing arequest-response protocol, wherein the request-response protocol is apull protocol (see, e.g., item 1802-C in FIG. 18C);

means for translating the input request into an input command compatiblewith a remote desktop display protocol to be utilized by a remotedesktop client at the transcoding server for facilitating communicationwith the remote desktop server at the remote machine, wherein the remotedesktop display protocol is a push protocol (see, e.g., item 1804-C inFIG. 18C);

means for providing the input command to a remote desktop client at thetranscoding server, to facilitate providing the input command to theremote desktop server utilizing the remote desktop display protocol(see, e.g., item 1806-C in FIG. 18C);

means for receiving a remote desktop drawing command from the remotedesktop server in response to the input command, wherein the remotedesktop drawing command is based on an image of a remote desktop of theremote machine (see, e.g., item 1808-C in FIG. 18C); and

means for translating the remote desktop drawing command into a graphicsdrawing command compatible with the transcoding server to allow thetranscoding server to facilitate providing a web browser drawing updateto the web browser, wherein the web browser drawing update is compatiblewith the web browser (see, e.g., item 1810-C in FIG. 18C).

21. The apparatus of clause 20, wherein the request-response protocolcomprises hypertext transfer protocol (HTTP), wherein the graphicsdrawing command is a Java graphics drawing command, wherein thetranscoding server is a Java transcoding server, wherein the web browseris HTML5 compatible.

22. The apparatus of clause 20, wherein the means for receiving theinput request comprises means for receiving the input request from theweb browser via an HTTP handler of a web application container at thetranscoding server,

wherein the means for receiving the remote desktop drawing commandcomprises means for receiving the remote desktop drawing command via theremote desktop client using the remote desktop display protocol.

23. The apparatus of clause 20, wherein the remote desktop drawingcommand comprises remote desktop drawing command parameters and bitmapdata received from the remote desktop server,

wherein the means for translating the remote desktop drawing commandcomprises one or more of: means for calculating new drawing commandparameters based on the remote desktop drawing command parameters; meansfor adjusting the remote desktop drawing command parameters; and meansfor making adjustments to the bitmap data.

24. The apparatus of clause 20, comprising:

means for generating an image based on the graphics drawing command; and

means for generating coordinates for the image based on the graphicsdrawing command,

wherein the image represents a portion of an entire image of the remotedesktop.

25. The apparatus of clause 20, comprising:

means for executing the graphics drawing command to generate and draw animage into a drawing commands queue at the transcoding server that isaccessible by a web application container at the transcoding server forcommunicating with the web browser;

means for generating coordinates for image based on the graphics drawingcommand;

means for storing the coordinates in the drawing commands queue; and

means for transmitting, after generating the coordinates, a notificationto the web application container that a drawing command is ready to beserved to the web browser,

wherein the graphics drawing command represents a portion of an entireimage of the remote desktop.

26. The apparatus of clause 20, comprising:

means for receiving, via an HTTP handler of the transcoding server, aconnection request from the web browser; and

means for facilitating establishing, controlling or terminating theremote desktop session between the remote desktop client and the remotedesktop server in response to the connection request, wherein the meansfor facilitating of the establishing, controlling or terminatingcomprises:

-   -   means for generating a session control command based on the        connection request, wherein the session control command is        compatible with the remote desktop display protocol; and    -   means for facilitating transmitting the session control command        to the remote desktop server via the remote desktop client using        the remote desktop display protocol.

27. The apparatus of clause 26, wherein the session control commandcomprises at least one of: a command for starting the remote desktopsession, a command for stopping the remote desktop session, acredential, a setting, a preference, and a command for passing at leastone of a credential, a setting, and a preference.

28. The apparatus of clause 20, comprising:

means for extracting coordinates from the graphics drawing command; and

means for updating at least a portion of an off-screen bitmap based onthe graphics drawing command, wherein the at least a portion of theoff-screen bitmap is associated with the coordinates, wherein theoff-screen bitmap represents an entire image of the remote desktop.

29. The apparatus of clause 20, wherein the apparatus comprises thetranscoding server.

30. The apparatus of clause 20, wherein the apparatus comprises aprocessing system and a memory.

Illustration of Method/Apparatus/Machine Readable Storage Medium forfacilitating accessing and controlling a remote desktop of a remotemachine in real time from a web browser of a client device via ahypertext transfer protocol (HTTP) handler and a remote desktop clientadapter for a transcoding server (described as Clauses).

The subject technology is illustrated, for example, according to variousaspects described below. Various examples of aspects of the subjecttechnology are described as numbered clauses (1, 2, 3, etc.) forconvenience. These are provided as examples, and do not limit thesubject technology. It is noted that any of the dependent clauses may becombined in any combination, and placed into a respective independentclause, e.g., clauses 1, 10, and 18. Clause 1 below is presented, forexample, with reference to FIGS. 19A-19E. The other clauses can bepresented in a similar manner.

1. A machine-readable storage medium (see, e.g., item 1900-A in FIG.19A) comprising code for facilitating accessing and controlling a remotedesktop of a remote machine (see, e.g., 320 in FIG. 3A) in real timefrom a web browser (see, e.g., 500 of FIG. 5) at a client device (see,e.g., 310 of FIG. 3A) via a hypertext transfer protocol (HTTP) handler(see, e.g., 422 of FIG. 4A) and a remote desktop client adapter (see,e.g., 430 of FIG. 4B) for a transcoding server (see, e.g., 330 of FIG.3A), the machine-readable storage medium comprising:

the HTTP handler (see, e.g., item 1902-A of FIG. 19A); and

the remote desktop client adapter (see, e.g., item 1904-A of FIG. 19A);

wherein the HTTP handler is configured to facilitate receiving aconnection request and a user input request from the web browserutilizing HTTP, to facilitate providing the connection request and theuser input request to the remote desktop client adapter, and tofacilitate providing a web browser drawing update to the web browser inresponse to a drawing request from the web browser, wherein the webbrowser drawing update is compatible with the web browser,

wherein the remote desktop client adapter is configured to facilitatereceiving the connection request and the user input request, totranslate the connection request into a session control commandcompatible with a remote desktop display protocol, and to translate theuser input request into a remote desktop input command compatible withthe remote desktop display protocol,

wherein the remote desktop client adapter is configured to facilitateproviding the session control command to a remote desktop client forproviding the session control command to a remote desktop server of theremote machine and for establishing, controlling or terminating a remotedesktop session with the remote desktop server,

wherein the remote desktop client adapter is configured to facilitateproviding the remote desktop input command to the remote desktop clientfor providing the remote desktop input command to the remote desktopserver,

wherein the remote desktop client adapter is configured to facilitatereceiving a remote desktop drawing command from the remote desktopserver via the remote desktop client in response to the remote desktopinput command, wherein the remote desktop drawing command is compatiblewith the remote desktop display protocol,

wherein the remote desktop client adapter is configured to translate theremote desktop drawing command into a graphics drawing commandcompatible with the transcoding server, and to update a portion of animage representing the entire remote desktop and coordinates based onthe graphics drawing command, and

wherein the HTTP handler is configured to generate an image file basedon the updated portion of the image and to obtain drawing coordinatesbased on the coordinates in response to the drawing request, wherein theweb browser drawing update comprises the image file and the drawingcoordinates,

wherein the remote desktop drawing command represents a portion of theentire remote desktop,

wherein the remote desktop display protocol is a push protocol, and HTTPis a pull protocol.

2. The machine-readable storage medium of clause 1, wherein the userinput request comprises at least one of a mouse event, a keyboard event,and a touch event.

3. The machine-readable storage medium of clause 1, wherein the sessioncontrol command relates to establishing or controlling a connectionbetween the remote desktop client and the remote desktop server andcomprises at least one of: a command for starting the remote desktopsession, a command for stopping the remote desktop session, acredential, a setting, a preference, and a command for passing at leastone of a credential, a setting, and a preference.

4. The machine-readable storage medium of clause 1, wherein the graphicsdrawing command is a Java graphics drawing command, wherein thetranscoding server is a Java transcoding server, and wherein the webbrowser is HTML5 compatible.

5. The machine-readable storage medium of clause 1, wherein the remotedesktop client adapter is configured to place the image and thecoordinates into a drawing commands queue,

wherein the machine-readable storage medium comprises a long pollinghandler,

wherein the long polling handler is configured to facilitate receivingthe drawing request from the web browser utilizing HTTP, to forward thedrawing request to the HTTP handler if coordinates for an image arepending in the drawing commands queue, to place the drawing request intoa drawing requests queue if coordinates for an image are not pending inthe drawing commands, and

wherein the drawing commands queue is configured to send a notificationto the drawing requests queue if the drawing commands queue receives anew drawing command comprising an image and coordinates for an image.

6. The machine-readable storage medium of clause 1, comprising a drawingrequests queue configured to forward the drawing request to the HTTPhandler in response to a notification from a drawing commands queue thata drawing command is pending for the web browser.

7. The machine-readable storage medium of clause 1, wherein the HTTPhandler is configured to place the drawing coordinates into a section ofan HTTP header, wherein the HTTP handler is configured to facilitateproviding the image file and the drawing coordinates together to the webbrowser in a single HTTP transmission response for drawing a displayimage at the web browser, wherein the display image represents theupdated portion of the image representing the entire remote desktop.

8. The machine-readable storage medium of clause 1, wherein the HTTPhandler is configured to facilitate providing script client codecompatible with the web browser to the web browser if the connectionrequest from the web browser comprises a request to connect to theremote machine.

9. A computing machine comprising the machine-readable storage medium ofclause 1, wherein the computing machine is the transcoding server.

10. A method (see, e.g., item 1900-B of FIG. 19B and item 1900-C of FIG.19C) for facilitating accessing and controlling a remote desktop of aremote machine (see, e.g., 320 of FIG. 3A) in real time from a webbrowser (see, e.g., 500 of FIG. 5) at a client device (see, e.g., 310 ofFIG. 3A) utilizing a transcoding server (see, e.g., 330 of FIG. 3A), themethod comprising:

receiving, at the transcoding server, a connection request from the webbrowser utilizing HTTP (see, e.g., item 1902-B of FIG. 19B);

translating, at the transcoding server, the connection request into asession control command compatible with a remote desktop displayprotocol (see, e.g., item 1904-B of FIG. 19B);

providing the session control command to a remote desktop client of thetranscoding server for providing the session control command to a remotedesktop server of the remote machine and for establishing, controllingor terminating a remote desktop session with the remote desktop server(see, e.g., item 1906-B of FIG. 19B);

receiving, at the transcoding server, a user input request from the webbrowser utilizing HTTP (see, e.g., item 1908-B of FIG. 19B),

translating, at the transcoding server, the user input request into aremote desktop input command compatible with the remote desktop displayprotocol (see, e.g., item 1910-B of FIG. 19B);

providing the remote desktop input command to the remote desktop clientfor providing the remote desktop input command to the remote desktopserver (see, e.g., item 1912-B of FIG. 19B),

receiving, at the transcoding server, a remote desktop drawing commandfrom the remote desktop server via the remote desktop client in responseto the remote desktop input command, wherein the remote desktop drawingcommand is compatible with the remote desktop display protocol, andwherein the remote desktop drawing command represents a portion of anentire image of the remote desktop (see, e.g., item 1902-C of FIG. 19C);

translating, at the transcoding server, the remote desktop drawingcommand into a graphics drawing command compatible with the transcodingserver (see, e.g., item 1904-C of FIG. 19C);

updating, at the transcoding server, a portion of an image andcoordinates based on the graphics drawing command (see, e.g., item1906-C of FIG. 19C);

generating, at the transcoding server, an image file based on theupdated portion of the image (see, e.g., item 1908-C of FIG. 19C);

obtaining drawing coordinates based on the coordinates (see, e.g., item1910-C of FIG. 19C); and

facilitating providing a web browser drawing update to the web browserin response to a drawing request from the web browser, wherein the webbrowser drawing update comprises the image file and the drawingcoordinates, and wherein the web browser drawing update is compatiblewith the web browser (see, e.g., item 1912-C of FIG. 19C),

wherein the remote desktop drawing command represents a portion of theentire remote desktop, and the image represents the entire remotedesktop,

wherein the remote desktop display protocol is a push protocol, and HTTPis a pull protocol.

11. The method of clause 10, wherein the user input request comprises atleast one of a mouse event, a keyboard event, and a touch event.

12. The method of clause 10, wherein the session control commandcomprises at least one of: a command for starting the remote desktopsession, a command for stopping the remote desktop session, acredential, a setting, a preference, and a command for passing at leastone of a credential, a setting, and a preference.

13. The method of clause 10, wherein the graphics drawing command is aJava graphics drawing command, wherein the transcoding server is a Javatranscoding server, and wherein the web browser is HTML5 compatible.

14. The method of clause 10, wherein the updating a portion of an imageand coordinates comprises storing the portion of the image and thecoordinates into a drawing commands queue,

wherein the method comprises: receiving the drawing request from the webbrowser utilizing HTTP; forwarding the drawing request to an HTTPhandler if coordinates for an image are pending in the drawing commandsqueue; placing the drawing request into a drawing requests queue ifcoordinates for an image are not pending in the drawing commands, and

wherein the method comprises: sending a notification to the drawingrequests queue if the drawing commands queue receives a new drawingcommand comprising an image and coordinates for an image.

15. The method of clause 10, comprising forwarding the drawing requestto an HTTP handler in response to a notification from a drawing commandsqueue that a drawing command is pending for the web browser.

16. The method of clause 10, comprising placing the drawing coordinatesinto a section of an HTTP header, wherein the facilitating providing theweb browser drawing update comprises facilitating providing the imagefile and the drawing coordinates together to the web browser in a singleHTTP transmission response for drawing a display image at the webbrowser, wherein the display image represents the updated portion of theimage representing the entire remote desktop.

17. The method of clause 10, comprising facilitate providing scriptclient code compatible with the web browser, to the web browser, if theconnection request from the web browser comprises a request to connectto the remote machine.

18. A transcoding server (see, e.g., item 1900-D of FIG. 19D and item1900-E of FIG. 19E) for facilitating accessing and controlling a remotedesktop of a remote machine (see, e.g., 320 of FIG. 3A) in real timefrom a web browser (see, e.g., 500 of FIG. 5) at a client device (see,e.g., 310 of FIG. 3A), the transcoding server comprising:

means for receiving a connection request from the web browser utilizingHTTP (see, e.g., item 1902-D in FIG. 19D);

means for translating the connection request into a session controlcommand compatible with a remote desktop display protocol (see, e.g.,item 1904-D in FIG. 19D);

means for providing the session control command to a remote desktopclient of the transcoding server for providing the session controlcommand to a remote desktop server of the remote machine and forestablishing, controlling or terminating a remote desktop session withthe remote desktop server (see, e.g., item 1906-D in FIG. 19D);

means for receiving a user input request from the web browser utilizingHTTP (see, e.g., item 1908-D in FIG. 19D),

means for translating the user input request into a remote desktop inputcommand compatible with the remote desktop display protocol (see, e.g.,item 1910-D in FIG. 19D);

means for providing the remote desktop input command to the remotedesktop client for providing the remote desktop input command to theremote desktop server (see, e.g., item 1912-D in FIG. 19D),

means for receiving a remote desktop drawing command from the remotedesktop server via the remote desktop client in response to the remotedesktop input command, wherein the remote desktop drawing command iscompatible with the remote desktop display protocol, and wherein theremote desktop drawing command represents a portion of an entire imageof the remote desktop (see, e.g., item 1902-E in FIG. 19E);

means for translating the remote desktop drawing command into a graphicsdrawing command compatible with the transcoding server (see, e.g., item1904-E in FIG. 19E);

means for updating a portion of an image and coordinates based on thegraphics drawing command (see, e.g., item 1906-E in FIG. 19E);

means for generating an image file based on the updated portion of theimage (see, e.g., item 1908-E in FIG. 19E);

means for obtaining drawing coordinates based on the coordinates (see,e.g., item 1910-E in FIG. 19E); and

means for facilitating providing a web browser drawing update to the webbrowser in response to a drawing request from the web browser, whereinthe web browser drawing update comprises the image file and the drawingcoordinates, and wherein the web browser drawing update is compatiblewith the web browser (see, e.g., item 1912-E in FIG. 19E),

wherein the remote desktop drawing command represents a portion of theentire remote desktop, and the image represents the entire remotedesktop,

wherein the remote desktop display protocol is a push protocol, and HTTPis a pull protocol.

19. The transcoding server of clause 18, wherein the user input requestcomprises at least one of a mouse event, a keyboard event, and a touchevent.

20. The transcoding server of clause 18, wherein the session controlcommand comprises at least one of: a command for starting the remotedesktop session, a command for stopping the remote desktop session, acredential, a setting, a preference, and a command for passing at leastone of a credential, a setting, and a preference.

21. The transcoding server of clause 18, wherein the graphics drawingcommand is a Java graphics drawing command, wherein the transcodingserver is a Java transcoding server, and wherein the web browser isHTML5 compatible.

22. The transcoding server of clause 18, wherein the means for updatinga portion of an image and coordinates comprises means for storing theportion of the image and the coordinates into a drawing commands queue,

wherein the transcoding server comprises: means for receiving thedrawing request from the web browser utilizing HTTP; means forforwarding the drawing request to an HTTP handler if coordinates for animage are pending in the drawing commands queue; means for placing thedrawing request into a drawing requests queue if coordinates for animage are not pending in the drawing commands, and

wherein the transcoding server comprises: means for sending anotification to the drawing requests queue if the drawing commands queuereceives a new drawing command comprising an image and coordinates foran image.

23. The transcoding server of clause 18, comprising means for forwardingthe drawing request to an HTTP handler in response to a notificationfrom a drawing commands queue that a drawing command is pending for theweb browser.

24. The transcoding server of clause 18, comprising means for placingthe drawing coordinates into a section of an HTTP header, wherein themeans for facilitating providing the web browser drawing updatecomprises means for facilitating providing the image file and thedrawing coordinates together to the web browser in a single HTTPtransmission response for drawing a display image at the web browser,wherein the display image represents the updated portion of the imagerepresenting the entire remote desktop.

25. The transcoding server of clause 18, comprising means for facilitateproviding script client code compatible with the web browser, to the webbrowser, if the connection request from the web browser comprises arequest to connect to the remote machine.

26. A processor comprising modules configured to perform the method ofany one of the foregoing clauses.

27. A machine-readable storage medium comprising code for causing thetranscoding server to perform the method of any one of the foregoingclauses.

28. The machine-readable storage medium of clause 27, wherein thetranscoding server comprises the machine-readable storage medium.

29. An apparatus comprising means for performing the method of any oneof the foregoing clauses.

30. The apparatus of clause 29, wherein the apparatus comprises atranscoding server.

31. The apparatus of clause 29, wherein the apparatus comprises aprocessing system and a memory.

33. An apparatus comprising components operable to perform the method ofany one of the foregoing clauses.

34. The apparatus of clause 33, wherein the apparatus comprises atranscoding server.

35. The apparatus of clause 33, wherein the apparatus comprises aprocessing system and a memory.

Illustration of Method/Apparatus/Machine Readable Storage Medium forfacilitating a remote desktop session between a web browser at and aremote desktop server (described as Clauses).

The subject technology is illustrated, for example, according to variousaspects described below. Various examples of aspects of the subjecttechnology are described as numbered clauses (1, 2, 3, etc.) forconvenience. These are provided as examples, and do not limit thesubject technology. It is noted that any of the dependent clauses may becombined in any combination, and placed into a respective independentclause. Clause 1 below is presented, for example, with reference to FIG.20A. The other clauses can be presented in a similar manner.

1. A method (see, e.g., method 2000-A of FIG. 20A) of facilitatingaccessing and controlling a remote desktop of a remote machine (see,e.g., 830 of FIG. 8A) in real time by a web browser of a client device(see, e.g., 802 of FIG. 8A) via a hypertext transfer protocol (HTTP)utilizing a web server (see, e.g., 820 of FIG. 8A), the methodcomprising:

receiving, at the web server, a remote desktop drawing command based onan image of the remote desktop of the remote machine, wherein the remotedesktop drawing command is compatible with a remote desktop displayprotocol utilized by the remote machine (see, e.g., 2002-A of FIG. 20A);

translating, at the web server, the remote desktop drawing command intoa web browser drawing update that is compatible with the web browser(see, e.g., 2004-A of FIG. 20A); and

facilitating providing the web browser drawing update from the webserver to the web browser of the client device utilizing HTTP during aremote desktop session between the client device and the remote machine(see, e.g., 2006-A of FIG. 20A),

wherein (i) the remote desktop display protocol is a push protocol, (ii)HTTP is a pull protocol, and (iii) the web browser comprises a windowsweb browser.

2. The method of clause 1, wherein the web browser drawing updatecomprises an image file and drawing coordinates for the image file thatare recognizable and processable by the windows web browser.

3. The method of clause 1, wherein the translating comprises:

translating the remote desktop drawing command into a windows graphicsdrawing command;

updating a portion of a memory bitmap using the windows graphics drawingcommand, wherein the updated portion of the memory bitmap represents aportion of an entire image of the remote desktop;

creating an image file from the memory bitmap; and

generating drawing coordinates for the image file,

wherein the web browser drawing update comprises the image file and thedrawing coordinates for the image file,

wherein the facilitating providing comprises placing the drawingcoordinates into an HTTP header,

wherein utilizing HTTP comprises using an HTTP controller,

wherein the web server is configured to facilitate providing anapplication framework for hosting one or more web applicationscomprising an ASP.NET model-view-controller (MVC), wherein the one ormore web applications comprise one or more HTTP handlers, and whereinthe one or more HTTP handlers comprise the HTTP controller of theASP.NET MVC.

4. The method of clause 1, wherein the translating comprises:

translating the remote desktop drawing command into a graphics drawingcommand that is compatible with the windows web server, wherein thegraphics drawing command includes coordinates;

extracting the coordinates from the graphics drawing command;

updating at least a portion of an off-screen bitmap based on thegraphics drawing command, wherein the at least a portion of theoff-screen bitmap is associated with the coordinates,

wherein the off-screen bitmap is based on the image of the remotedesktop;

creating an image file including a windows image file based on the atleast a portion of the off-screen bitmap; and

wherein the web browser drawing update comprises the image file and thecoordinates.

5. The method of clause 1, wherein the web browser is an HTML5compatible web browser.

6. The method of clause 1, comprising:

receiving a user input request from the web browser, using HTTP;

translating the user input request into an input command compatible withthe remote desktop display protocol; and

providing the input command to the remote desktop client for accessingand controlling the remote desktop of the remote machine during theremote desktop session,

wherein the web browser drawing update comprises an image file includinga windows image file and drawing coordinates for the image file that arerecognizable and processable by the windows web browser,

wherein the image file and the drawing coordinates represent a portionof an image of the remote desktop that has been changed in response tothe input command.

7. The method of clause 6, wherein the user input request comprises atleast one of a mouse event, a keyboard event, and a touch event.

8. The method of clause 1, wherein the remote desktop drawing commandcomprises remote desktop drawing command parameters and bitmap datareceived from a remote desktop server of the remote machine,

wherein the translating comprises one or more of: calculating newdrawing command parameters based on the remote desktop drawing commandparameters; adjusting the remote desktop drawing command parameters; andmaking adjustments to the bitmap data.

9. The method of clause 1, wherein the remote desktop drawing commandcomprises remote desktop drawing command parameters and bitmap datareceived from a remote desktop server of the remote machine,

wherein the translating comprises making adjustments to the bitmap data,

wherein the making adjustments comprises converting a 16-bitred-green-blue (RGB) 5-6-5 color format into a 32-bitalpha-red-green-blue (ARGB) 8-8-8-8 format.

10. The method of clause 1, wherein the web server is an intermediarybetween the remote machine and the client device, and wherein the webserver is physically separate from the remote machine.

11. A machine-readable storage medium (see, e.g., 1210, 1219 in FIGS. 12and 2000-B of FIG. 20B) comprising instructions stored therein, theinstructions executable by one or more processors (see, e.g., 1202) toperform one or more operations, the instructions comprising:

code for causing one or more processors to facilitate receiving a remotedesktop drawing command based on an image of a remote desktop of aremote machine, wherein the remote desktop drawing command is compatiblewith a remote desktop display protocol of the remote machine (see, e.g.,2002-B of FIG. 20B);

code for causing one or more processors to translate the remote desktopdrawing command into a web browser drawing update that is compatiblewith a web browser (see, e.g., 2004-B of FIG. 20B); and

code for causing one or more processors to facilitate providing the webbrowser drawing update utilizing hypertext transfer protocol (HTTP)during a remote desktop session between a client device for the webbrowser and the remote machine (see, e.g., 2006-B of FIG. 20B),

wherein (i) the remote desktop display protocol is a push protocol, (ii)HTTP is a pull protocol, and (iii) the web browser comprises a windowsweb browser.

12. The machine-readable storage medium of clause 11, wherein the webbrowser drawing update comprises an image file and drawing coordinatesfor the image file that are recognizable and processable by the windowsweb browser.

13. The machine-readable storage medium of clause 11, wherein the codefor causing one or more processors to translate comprises:

code for causing one or more processors to translate, at a web server,the remote desktop drawing command into a windows graphics drawingcommand;

code for causing one or more processors to update a portion of a memorybitmap using the windows graphics drawing command, wherein the updatedportion of the memory bitmap represents a portion of an image of theremote desktop;

code for causing one or more processors to create an image fileincluding a windows image file from the memory bitmap; and

code for causing one or more processors to generate drawing coordinatesfor the image file,

wherein the web browser drawing update comprises the image file and thedrawing coordinates for the image file,

wherein the code for causing one or more processors to facilitateproviding comprises code for causing one or more processors to place thedrawing coordinates into an HTTP header,

wherein code for causing one or more processors to utilize HTTPcomprises code for causing one or more processors to use an HTTPcontroller,

wherein the web server is configured to facilitate providing anapplication framework for hosting one or more web applications, whereinthe one or more web applications comprise one or more HTTP handlers, andwherein the one or more HTTP handlers comprise the HTTP controller.

14. The machine-readable storage medium of clause 11, wherein the codefor causing one or more processors to translate comprises:

code for causing one or more processors to translate, at a web server,the remote desktop drawing command into a graphics drawing command thatis compatible with the web server, wherein the graphics drawing commandincludes coordinates;

code for causing one or more processors to extract the coordinates fromthe graphics drawing command;

code for causing one or more processors to update at least a portion ofan off-screen bitmap based on the graphics drawing command, wherein theat least a portion of the off-screen bitmap is associated with thecoordinates,

wherein the off-screen bitmap is based on the image of the remotedesktop;

code for causing one or more processors to create an image fileincluding a windows image file based on the at least a portion of theoff-screen bitmap; and

wherein the web browser drawing update comprises the windows image fileand the coordinates.

15. The machine-readable storage medium of clause 11, wherein the webbrowser is an HTML5 compatible web browser.

16. The machine-readable storage medium of clause 11, wherein theinstructions comprise:

code for causing one or more processors to facilitate receiving a userinput request from the web browser, using HTTP;

code for causing one or more processors to translate the user inputrequest into an input command compatible with the remote desktop displayprotocol; and

code for causing one or more processors to facilitate providing theinput command to the remote desktop client for accessing and controllingthe remote desktop of the remote machine during the remote desktopsession;

wherein the web browser drawing update comprises an image file includinga windows image file and drawing coordinates for the image file that arerecognizable and processable by the windows web browser; and

wherein the image file and the drawing coordinates represent a portionof an image of the remote desktop that has been changed in response tothe input command.

17. The machine-readable storage medium of clause 16, wherein the userinput request comprises at least one of a mouse event, a keyboard event,and a touch event.

18. The machine-readable storage medium of clause 11, wherein the remotedesktop drawing command comprises remote desktop drawing commandparameters and bitmap data received from a remote desktop server of theremote machine,

wherein the code for causing one or more processors to translatecomprises one or more of: code for causing one or more processors tocalculate new drawing command parameters based on the remote desktopdrawing command parameters; code for causing one or more processors toadjust the remote desktop drawing command parameters; and code forcausing one or more processors to make adjustments to the bitmap data.

19. The machine-readable storage medium of clause 11, wherein the remotedesktop drawing command comprises remote desktop drawing commandparameters and bitmap data received from a remote desktop server of theremote machine,

wherein the code for causing one or more processors to translatecomprises code for causing one or more processors to make adjustments tothe bitmap data,

wherein the code for causing one or more processors to make adjustmentscomprises code for causing one or more processors to convert a 16-bitred-green-blue (RGB) 5-6-5 color format into a 32-bitalpha-red-green-blue (ARGB) 8-8-8-8 format.

20. The machine-readable storage medium of clause 11, wherein the codefor causing one or more processors to translate is to be executed at aweb server, and wherein the web server is an intermediary between theremote machine and the client device, and wherein the web server isphysically separate from the remote machine.

21. A computing machine comprising the machine-readable storage mediumof clause 11, wherein the computing machine is a web server.

22. An apparatus (see, e.g., 2000-C of FIG. 20C) for facilitatingaccessing and controlling a remote desktop of a remote machine (see,e.g., 830 of FIG. 8A) in real time by a web browser (see, e.g., 810 ofFIG. 8A) at a client device (see, e.g., 802 of FIG. 8A) via a hypertexttransfer protocol (HTTP) utilizing a web server (see, e.g., 820 of FIG.8A), the apparatus comprising:

means for receiving a remote desktop drawing command based on an imageof the remote desktop of the remote machine, wherein the remote desktopdrawing command is compatible with a remote desktop display protocolutilized by the remote machine (see, e.g., 2002-C of FIG. 20C);

means for translating the remote desktop drawing command into a webbrowser drawing update that is compatible with the web browser (see,e.g., 2004-C of FIG. 20C); and

means for translating the remote desktop drawing command into a webbrowser drawing update that is compatible with the web browser (see,e.g., 2006-C of FIG. 20C);

wherein (i) the remote desktop display protocol is a push protocol, (ii)HTTP is a pull protocol, and (iii) the web browser comprises a windowsweb browser.

23. The apparatus of clause 22, wherein the web browser drawing updatecomprises an image file including a windows image file and drawingcoordinates for the image file that are recognizable and processable bythe windows web browser.

24. The apparatus of clause 22, wherein the means for translatingcomprises:

means for translating the remote desktop drawing command into a windowsgraphics drawing command;

means for updating a portion of a memory bitmap using the windowsgraphics drawing command, wherein the updated portion of the memorybitmap represents a portion of an entire image of the remote desktopsession;

means for creating an image file including a windows image file from thememory bitmap; and

means for generating drawing coordinates for the image file,

wherein the web browser drawing update comprises the image file and thedrawing coordinates for the image file,

wherein the means for facilitating providing comprises means for placingthe drawing coordinates into an HTTP header,

wherein utilizing HTTP comprises utilizing an HTTP controller, and

wherein the web server is a windows web server that is configured tofacilitate providing an application framework for hosting one or moreweb applications comprising an ASP.NET model-view-controller (MVC),wherein the one or more web applications comprise one or more HTTPhandlers, and wherein the one or more HTTP handlers comprise the HTTPcontroller of the ASP.NET MVC.

25. The apparatus of clause 22, wherein the means for translatingcomprises:

means for translating the remote desktop drawing command into a graphicsdrawing command that is compatible with the windows web server, whereinthe graphics drawing command includes coordinates;

means for extracting the coordinates from the graphics drawing command;

means for updating at least a portion of an off-screen bitmap based onthe graphics drawing command, wherein the at least a portion of theoff-screen bitmap is associated with the coordinates, wherein theoff-screen bitmap is based on the image of the entire remote desktop;and

means for creating an image file including a windows image file based onthe at least a portion of the off-screen bitmap;

wherein the web browser drawing update comprises the image file and thecoordinates.

26. The apparatus of clause 22, wherein the web browser is an HTML5compatible web browser.

27. The apparatus of clause 22, comprising:

means for receiving a user input request from the web browser, usingHTTP;

means for translating the user input request into an input commandcompatible with the remote desktop display protocol; and

means for providing the input command to the remote desktop client foraccessing and controlling the remote desktop of the remote machineduring the remote desktop session;

wherein the web browser drawing update comprises an image file includinga windows image file and drawing coordinates for the image file that arerecognizable and processable by the windows web browser; and

wherein the image file and the drawing coordinates represent a portionof an image of the of the remote desktop that has been changed inresponse to the input command.

28. The apparatus of clause 27, wherein the user input request comprisesat least one of a mouse event, a keyboard event, and a touch event.

29. The apparatus of clause 22, wherein the remote desktop drawingcommand comprises remote desktop drawing command parameters and bitmapdata received from a remote desktop server of the remote machine,

wherein the means for translating comprises one or more of: means forcalculating new drawing command parameters based on the remote desktopdrawing command parameters; means for adjusting the remote desktopdrawing command parameters; and means for making adjustments to thebitmap data.

30. The apparatus of clause 22, wherein the remote desktop drawingcommand comprises remote desktop drawing command parameters and bitmapdata received from a remote desktop server,

wherein the means for translating comprises means for making adjustmentsto the bitmap data of the remote machine,

wherein the means for making adjustments comprises means for convertinga 16-bit red-green-blue (RGB) 5-6-5 color format into a 32-bitalpha-red-green-blue (ARGB) 8-8-8-8 format.

31. The apparatus of clause 22, wherein the web server is anintermediary between the remote machine and the client device, andwherein the web server is physically separate from the remote machine.

32. The apparatus of clause 22, wherein the apparatus comprises the webserver.

33. The apparatus of clause 22, wherein the apparatus comprises aprocessing system and a memory.

Illustration of Method/Apparatus/Machine Readable Storage Medium forfacilitating a remote desktop redrawing session utilizing HTML(described as Clauses).

The subject technology is illustrated, for example, according to variousaspects described below. Various examples of aspects of the subjecttechnology are described as numbered clauses (1, 2, 3, etc.) forconvenience. These are provided as examples, and do not limit thesubject technology. It is noted that any of the dependent clauses may becombined in any combination, and placed into a respective independentclause. Clause 1 below is presented, for example, with reference to FIG.21A. The other clauses can be presented in a similar manner.

1. A method (see, e.g., 2100-A of FIG. 21A), of facilitating conductinga remote desktop session between a web browser (see, e.g., 820 of FIG.8A) of a client device and a remote machine (see, e.g., 830 of FIG. 8A)via a web server (see, e.g., 820 of FIG. 8A) in real time and utilizinghypertext markup language (HTML) that supports a two-dimensional (2D)canvas and dynamic drawing, the method comprising:

receiving, at the web server, a user input request from the web browserof the client device for access and control of the remote machine,wherein the web browser supports a 2D canvas and dynamic drawing (see,e.g., 2102-A of FIG. 21A);

translating, at the web server, the user input request into an inputcommand compatible with a remote desktop display protocol to be utilizedby the web server for facilitating communication with the remote machine(see, e.g., 2104-A of FIG. 21A);

receiving, at the web server, a remote desktop drawing command from theremote machine in response to the input command (see, e.g., 2106-A ofFIG. 21A);

translating, at the web server, the remote desktop drawing command intoa drawing update compatible with the hypertext markup language (see,e.g., 2108-A of FIG. 21A); and

facilitating providing the drawing update from the web server to the webbrowser (see, e.g., 2110-A of FIG. 21A);

wherein the web server is an intermediary between the remote machine andthe client device, and wherein the web server comprises a windows webserver and is physically separate from the remote machine.

2. The method of clause 1, wherein the web browser comprises a windowsweb browser and wherein the translating the remote desktop drawingcommand comprises:

translating the remote desktop drawing command into a windows graphicsdrawing command;

executing the windows graphics drawing command to update a portion of amemory bitmap, wherein the memory bitmap represents an image of a remotedesktop of the remote machine;

generating coordinates for the memory bitmap based on the windowsgraphics drawing command;

forming an image file including a windows image file based on the memorybitmap, wherein the image file is compatible with HTML5; and

obtaining drawing coordinates for the image file based on thecoordinates for the memory bitmap, wherein the drawing coordinates arecompatible with HTML5,

wherein the drawing update comprises the image file and the drawingcoordinates for the image file,

wherein the drawing update represents a portion of the image of theremote desktop, wherein the web browser comprises client script code;

wherein the method comprises receiving, at the web server, drawingrequests from the client script code of the web browser,

wherein the facilitating providing the drawing update comprisesfacilitating providing the drawing update from the web server to theclient script code of the web browser in response to one of the drawingrequests from the client script code of the web browser.

3. The method of clause 1, wherein the translating the remote desktopdrawing command comprises:

translating the remote desktop drawing command into a graphics drawingcommand compatible with the windows web server;

updating a portion of a bitmap based on the graphics drawing command,wherein the updated portion of the bitmap represents a portion of animage of a remote desktop of the remote machine that has changedrelative to a previous graphics drawing command;

generating coordinates for the bitmap;

forming an image file including a windows image file based on thebitmap, wherein the image file is HTML5 compatible; and

obtaining drawing coordinates for the image file, wherein the drawingcoordinates are compatible with HTML5,

wherein the drawing update comprises the image file and the drawingcoordinates for the image file,

wherein the method comprises receiving, at the web server, drawingrequests from the web browser,

wherein the facilitating providing the drawing update comprisesfacilitating providing the drawing update from the web server to the webbrowser in response to one of the drawing requests from the web browser.

4. The method of clause 1, wherein the web server comprises a remotedesktop client wrapper configured to translate the user input requestinto the input command compatible with the remote desktop displayprotocol and to translate the remote desktop drawing command into thegraphics drawing command compatible with a windows web browser.

5. The method of clause 1, comprising receiving long asynchronous HTTPrequests from the web browser, wherein the asynchronous HTTP requestscomprise drawing requests and the web browser comprises a windows webbrowser.

6. The method of clause 1, comprising receiving from the web browser aninitial HTTP request comprising a uniform resource locator (URL) of theremote machine.

7. The method of clause 6, comprising facilitating providing a scriptclient code to the web browser in response to the initial HTTP requestfor the URL of the remote machine, wherein the script client code iscompatible with HTML5.

8. The method of clause 1, wherein the remote desktop drawing command iscompatible with the remote desktop display protocol, wherein the remotedesktop display protocol is a push protocol, and wherein thefacilitating providing the drawing update comprises facilitatingproviding the drawing update using HTTP that is a pull protocol.

9. The method of clause 1, wherein dynamic drawing comprises drawing inreal time a portion of the 2D canvas, rather than drawing the entire 2Dcanvas, in response to one or more drawing requests of a script clientof the web browser.

10. The method of clause 1, wherein the 2D canvas is updatable by aportion at a time according to a set of coordinates.

11. A machine-readable storage medium (see, e.g., 1210, 1219 in FIGS. 12and 2100-B of FIG. 21B) comprising instructions stored therein, theinstructions executable by one or more processors (see, e.g., 1202), theinstructions comprising:

code for causing one or more processors to facilitate receiving a userinput request from a web browser of a client device for access andcontrol of a remote machine, wherein the web browser supports a 2Dcanvas and dynamic drawing (see, e.g., 2102-B of FIG. 21B);

code for causing one or more processors to translate the user inputrequest into an input command compatible with a remote desktop displayprotocol to be utilized for facilitating communication with the remotemachine (see, e.g., 2104-B of FIG. 21B);

code for causing one or more processors to facilitate receiving a remotedesktop drawing command from the remote machine in response to the inputcommand (see, e.g., 2106-B of FIG. 21B);

code for causing one or more processors to translate the remote desktopdrawing command into a drawing update compatible with hypertext markuplanguage (see, e.g., 2108-B of FIG. 21B); and

code for causing one or more processors to facilitate providing thedrawing update to the web browser (see, e.g., 2110-B of FIG. 21B).

12. The machine-readable storage medium of clause 11, wherein the webbrowser comprises a windows web browser and wherein the code for causingone or more processors to translate the remote desktop drawing commandcomprises:

code for causing one or more processors to translate the remote desktopdrawing command into a windows graphics drawing command;

code for causing one or more processors to execute the windows graphicsdrawing command to update a portion of a windows graphics applicationprogramming interface (API) memory bitmap, wherein the windows graphicsAPI memory bitmap represents an image of a remote desktop of the remotemachine;

code for causing one or more processors to generate coordinates for theupdated portion of the windows graphics API memory bitmap based on thewindows graphics drawing command;

code for causing one or more processors to form an image file includinga windows image file based on the updated portion of the windowsgraphics API memory bitmap, wherein the image file is compatible withHTML5; and

code for causing one or more processors to obtain drawing coordinatesfor the image file based on the coordinates for the updated portion ofthe windows graphics API memory bitmap, wherein the drawing coordinatesare compatible with HTML5,

wherein the drawing update comprises the image file and the drawingcoordinates for the image file,

wherein the drawing update represents a portion of the image of theremote desktop,

wherein the web browser comprises client script code;

wherein the instructions comprise code for causing one or moreprocessors to facilitate receiving, at a web server, drawing requestsfrom the client script code of the web browser,

wherein the code for causing one or more processors to facilitateproviding the drawing update comprises code for causing one or moreprocessors to facilitate providing the drawing update from the webserver to the client script code of the web browser in response to oneof the drawing requests from the client script code of the web browser.

13. The machine-readable storage medium of clause 11, wherein the codefor causing one or more processors to translate the remote desktopdrawing command comprises:

code for causing one or more processors to translate the remote desktopdrawing command into a graphics drawing command compatible with the webserver;

code for causing one or more processors to update a portion of a bitmapbased on the graphics drawing command, wherein the updated portion ofthe bitmap represents a portion of an image of a remote desktop of theremote machine that has changed relative to a previous graphics drawingcommand;

code for causing one or more processors to generate coordinates for theupdated portion of the bitmap;

code for causing one or more processors to form an image file includinga windows image file based on the updated portion of the bitmap, whereinthe image file is HTML5 compatible; and

code for causing one or more processors to obtain drawing coordinatesfor the image file, wherein the drawing coordinates are compatible withHTML5,

wherein the drawing update comprises the image file and the drawingcoordinates for the image file,

wherein the instructions comprise code for causing one or moreprocessors to facilitate receiving, at the web server, drawing requestsfrom the web browser, and

wherein the code for causing one or more processors to facilitateproviding the drawing update comprises code for causing one or moreprocessors to facilitate providing the drawing update to the web browserin response to one of the drawing requests from the web browser.

14. The machine-readable storage medium of clause 11, wherein the remotedesktop display protocol is to be utilized by a web server, wherein theweb server is an intermediary between the remote machine and the clientdevice, and wherein the web server comprises a windows web server and isphysically separate from the remote machine, wherein the web servercomprises a remote desktop client wrapper configured to translate theuser input request into the input command compatible with the remotedesktop display protocol and to translate the remote desktop drawingcommand into the graphics drawing command compatible with a windows webbrowser.

15. The machine-readable storage medium of clause 11, wherein theinstructions comprise code for causing one or more processors tofacilitate receiving asynchronous HTTP requests from the web browser,wherein the asynchronous HTTP requests comprise drawing requests and theweb browser comprises a windows web browser.

16. The machine-readable storage medium of clause 11, wherein theinstructions comprise code for causing one or more processors tofacilitate receiving from the web browser an initial HTTP requestcomprising a uniform resource locator (URL) of the remote machine.

17. The machine-readable storage medium of clause 16, wherein theinstructions comprise code for causing one or more processors tofacilitate providing a script client code to the web browser in responseto the initial HTTP request for the URL of the remote machine, whereinthe script client code is compatible with HTML5.

18. The machine-readable storage medium of clause 11, wherein the remotedesktop drawing command is compatible with the remote desktop displayprotocol, wherein the remote desktop display protocol is a pushprotocol, wherein the code for causing one or more processors tofacilitate providing the drawing update comprises code for causing oneor more processors to facilitate providing the drawing update using HTTPthat is a pull protocol, and wherein the drawing updates are compatiblewith a windows graphic protocol.

19. The machine-readable storage medium of clause 11, wherein dynamicdrawing comprises drawing in real time a portion of the 2D canvas,rather than drawing the entire 2D canvas, in response to one or moredrawing requests of a script client of the web browser.

20. The machine-readable storage medium of clause 11, wherein the 2Dcanvas is updatable by a portion at a time according to a set ofcoordinates.

21. A computing machine comprising the machine-readable storage mediumof clause 11, wherein the computing machine is a web server.

22. An apparatus (see, e.g., 2100-C of FIG. 21C) for facilitatingconducting a remote desktop session between a web browser of a clientdevice and a remote machine via a web server in real time and utilizinghypertext markup language that supports a two-dimensional (2D) canvasand dynamic drawing, the apparatus comprising:

means for receiving a user input request from the web browser of theclient device for access and control of the remote machine, wherein theweb browser supports a 2D canvas and dynamic drawing (see, e.g., 2102-Cof FIG. 21C);

means for translating the user input request into an input commandcompatible with a remote desktop display protocol to be utilized by theweb server for facilitating communication with the remote machine (see,e.g., 2104-C of FIG. 21C);

means for receiving a remote desktop drawing command from the remotemachine in response to the input command (see, e.g., 2106-C of FIG.21C);

means for translating the remote desktop drawing command into a drawingupdate compatible with the hypertext markup language (see, e.g., 2108-Cof FIG. 21C); and

means for facilitating providing the drawing update from the web serverto the web browser (see, e.g., 2110-C of FIG. 21C);

wherein the web server is an intermediary between the remote machine andthe client device, and wherein the web server comprises a windows webserver and is physically separate from the remote machine.

23. The apparatus of clause 22, wherein the web browser comprises awindows web browser and means for translating the remote desktop drawingcommand comprises: means for translating the remote desktop drawingcommand into a windows graphics drawing command;

means for executing the windows graphics drawing command to update aportion of a memory bitmap, wherein the memory bitmap represents animage of a remote desktop of the remote machine;

means for generating coordinates for the updated portion of the memorybitmap based on the windows graphics drawing command;

means for forming an image file including a windows image file based onthe updated portion of the memory bitmap, wherein the image file iscompatible with HTML5; and

means for obtaining drawing coordinates for the image file based on thecoordinates for the memory bitmap, wherein the drawing coordinates arecompatible with HTML5;

wherein the drawing update comprises the image file and the drawingcoordinates for the image file,

wherein the drawing update represents a portion of the image of theremote desktop,

wherein the web browser temporarily comprises client script code duringthe remote desktop session while the remote desktop session persists;

wherein the apparatus comprises means for receiving drawing requestsfrom the client script code of the web browser,

wherein the means for facilitating providing the drawing updatecomprises means for facilitating providing the drawing update from theweb server to the client script code of the web browser in response toone of the drawing requests from the client script code of the webbrowser.

24. The apparatus of clause 22, wherein the means for translating theremote desktop drawing command comprises:

means for translating the remote desktop drawing command into a graphicsdrawing command compatible with the web server;

means for updating a portion of a bitmap based on the graphics drawingcommand, wherein the updated portion of the bitmap represents a portionof an image of a remote desktop of the remote machine that has changedrelative to a previous graphics drawing command;

means for generating coordinates for the bitmap;

means for forming an image file including a windows image file based onthe bitmap, wherein the image file is HTML5 compatible; and

means for obtaining drawing coordinates for the image file, wherein thedrawing coordinates are compatible with HTML5,

wherein the drawing update comprises the image file and the drawingcoordinates for the image file,

wherein the apparatus comprises means for receiving drawing requestsfrom the web browser,

wherein the means for facilitating providing the drawing updatecomprises means for facilitating providing the drawing update from theweb server to the web browser in response to one of the drawing requestsfrom the web browser.

25. The apparatus of clause 22, wherein the web server comprises aremote desktop client wrapper configured to translate the user inputrequest into the input command compatible with the remote desktopdisplay protocol and to translate the remote desktop drawing commandinto the graphics drawing command compatible with a windows web browser.

26. The apparatus of clause 22, comprising means for receivingasynchronous HTTP requests from the web browser, wherein theasynchronous HTTP requests comprise drawing requests and the web browsercomprises a windows web browser.

27. The apparatus of clause 22, comprising means for receiving from theweb browser an initial HTTP request comprising a uniform resourcelocator (URL) of the remote machine.

28. The apparatus of clause 27, comprising means for facilitatingproviding a script client code to the web browser in response to theinitial HTTP request for the URL of the remote machine, wherein thescript client code is compatible with HTML5.

29. The apparatus of clause 22, wherein the remote desktop drawingcommand is compatible with the remote desktop display protocol, whereinthe remote desktop display protocol is a push protocol, wherein themeans for facilitating providing the drawing update comprises means forfacilitating providing the drawing update using HTTP that is a pullprotocol, and wherein the drawing update is compatible with a windowsweb browser.

30. The apparatus of clause 22, wherein dynamic drawing comprisesdrawing in real time a portion of the 2D canvas, rather than drawing theentire 2D canvas, in response to one or more drawing requests of ascript client of the web browser.

31. The apparatus of clause 22, wherein the 2D canvas is updatable by aportion at a time according to a set of coordinates.

32. The apparatus of clause 22, wherein the apparatus is the web server.

33. The apparatus of clause 22, wherein the apparatus comprises aprocessing system and memory.

Illustration of Method/Apparatus/Machine Readable Storage Medium for aremote desktop session, utilizing HTTP header (described as Clauses).

The subject technology is illustrated, for example, according to variousaspects described below. Various examples of aspects of the subjecttechnology are described as numbered clauses (1, 2, 3, etc.) forconvenience. These are provided as examples, and do not limit thesubject technology. It is noted that any of the dependent clauses may becombined in any combination, and placed into a respective independentclause. Clause 1 below is presented, for example, with reference to FIG.22A. The other clauses can be presented in a similar manner.

1. A method (see, e.g., 2200-A of FIG. 22A) of facilitating a remotedesktop session between a web browser (see, e.g., 810 of FIG. 8A) of aclient device (see, e.g., 802 of FIG. 8A) and a remote machine (see,e.g., 830 of FIG. 8A) through a web server, utilizing hypertext transferprotocol (HTTP) headers for remote desktop session drawing, the methodcomprising:

receiving, at the web server, drawing requests from the web browser ofthe client device (see, e.g., 2202-A of FIG. 22A);

receiving, at the web server, a remote desktop drawing command from theremote machine using a remote desktop display protocol, wherein theremote desktop drawing command is based on an image of a remote desktopof the remote machine (see, e.g., 2204-A of FIG. 22A);

translating, at the web server, the remote desktop drawing command intoa display image and drawing coordinates for the display image (see,e.g., 2206-A of FIG. 22A);

placing, at the web server, the drawing coordinates into an HTTPresponse header (see, e.g., 2208-A of FIG. 22A); and

in response to at least one of the drawing requests, facilitatingproviding the display image and the drawing coordinates together to theweb browser in a single HTTP response, for drawing the display image ofthe remote desktop at the web browser, wherein the single HTTP responsecomprises the HTTP response header (see, e.g., 2210-A of FIG. 22A),

wherein (i) the remote desktop display protocol is a push protocol, and(ii) HTTP is a pull protocol, and (iii) the web browser comprises awindows web browser.

2. The method of clause 1, wherein the web server comprises a windowsweb server, and wherein the translating comprises:

translating the remote desktop drawing command into a windows graphicsdrawing command, wherein the web server comprises one or more webapplications including one or more HTTP handlers;

updating a portion of a memory bitmap corresponding to the remotedesktop in response to the windows graphics drawing command;

generating coordinates for the updated portion of the memory bitmap fromthe windows graphics drawing command;

generating the display image compatible with the web browser based onthe memory bitmap; and

obtaining the drawing coordinates for the display image based on thecoordinates for the memory bitmap,

wherein the display image and the drawing coordinates are compatiblewith hypertext markup language (HTML),

wherein the updated portion of the memory bitmap represents a portion ofan image of the remote desktop of the remote machine,

wherein the display image and the drawing coordinates represent theportion of the image of the remote desktop of the remote machine.

3. The method of clause 1, wherein the web server is an intermediarybetween the remote machine and the client device, and wherein the webserver is physically separate from the remote machine.

4. The method of clause 1, wherein the remote desktop drawing commandcomprises coordinates of a region of the remote desktop that has changedrelative to a previous remote desktop drawing command, wherein thecoordinates specify a redrawing region, and wherein the display imageand the drawing coordinates are compatible with windows graphic protocoland HTML5.

5. The method of clause 1, wherein the display image comprises at leastone of a scaled image of the remote desktop or a display imagecomprising an offset image of the remote desktop.

6. A method of facilitating a remote desktop session between a webbrowser of a client device and a remote machine through a web server,utilizing asynchronous handling of requests to reduce traffic to theclient device, the method comprising:

facilitating receiving, at the web server, a plurality of drawingrequests from the web browser of the client device, using HTTP, whereinHTTP is a pull protocol;

handling, at the web server, the plurality of drawing requests asasynchronous requests;

facilitating receiving, at the web server, a remote desktop drawingcommand from the remote machine;

translating, at the web server, the remote desktop drawing command intoa web browser drawing update, wherein the remote desktop drawing commandis compatible with a push protocol, wherein the web browser drawingupdate is compatible with HTTP; and

facilitating providing the web browser drawing update from the webserver to the web browser of the client device, utilizing HTTP, as aresponse to at least one of the plurality of drawing requests from theweb browser,

wherein the web server comprises a windows web server and the webbrowser is a windows web browser.

7. The method of clause 6, wherein the handling comprises:

determining whether a drawing command is pending at the web server forthe web browser;

if there is no pending drawing command, then storing the plurality ofdrawing requests in a drawing requests queue as asynchronous requests;and

if there is a pending drawing command, then providing at least one ofthe plurality of drawing requests to an HTTP handler module in the webserver to allow the HTTP handler module to serve the pending drawingcommand in response to the at least one of the plurality of drawingrequests.

8. The method of clause 6, wherein the remote desktop drawing commandrepresents a portion of an image of a remote desktop of the remotemachine,

wherein the translating comprises:

-   -   translating the remote desktop drawing command into a windows        graphics drawing command;    -   updating a portion of a memory bitmap of the image of the remote        desktop in response to the windows graphics drawing command;    -   generating coordinates of the updated portion of the memory        bitmap based on the windows graphics drawing command;    -   generating an image file based on the updated portion of the        memory bitmap, wherein the image file is compatible with the web        browser, wherein the image file comprises a windows image file        compatible with the windows web browser; and    -   obtaining drawing coordinates for the image file based on the        coordinates of the updated portion of the memory bitmap,

wherein the web browser drawing update comprises the image file and thedrawing coordinates.

9. The method of clause 7, wherein the facilitating providing comprises:

placing, at the HTTP handler module the drawing coordinates into an HTTPheader of a single HTTP transmission response to the web browser;

including, at the HTTP handler module, the image file into the singleHTTP transmission response to the web browser to facilitate providingthe image file and the drawing coordinates together to the web browserin the single HTTP transmission response; and

when a drawing commands queue has new coordinates, sending anotification to the drawing requests queue to allow at least one of theplurality of drawing requests in the drawing requests queue to beforwarded to the HTTP handler module.

10. The method of clause 6, comprising:

receiving a request from the web browser to connect to the remotemachine;

facilitating providing a client script code to the web browser inresponse to the request to connect to the remote machine,

wherein the receiving the plurality of drawing requests comprisesreceiving the plurality of drawing requests from the client script code,

wherein the facilitating providing the web browser drawing updatecomprises facilitating providing the web browser drawing update to theclient script code; and

facilitating deleting the client script code from the web browser whenthe remote desktop session is terminated.

11. The method of clause 6, comprising:

receiving, at the web server, a user input request from the web browserfor accessing or controlling a remote desktop of the remote machine,

translating, at the web server, the user input request into an inputcommand compatible with the push protocol;

facilitating providing the input command to the remote machine utilizingthe push protocol,

wherein the receiving the remote desktop drawing command comprisesreceiving the remote desktop drawing command in response to the inputcommand.

12. A machine-readable storage medium (see, e.g., 1210, 1219 in FIGS. 12and 2200-B of FIG. 22B) comprising instructions stored therein, theinstructions executable by one or more processors to perform one or moreoperations, the instructions comprising:

code for causing one or more processors to facilitate receiving drawingrequests from a web browser of a client device (see, e.g., 2202-B ofFIG. 22B);

code for causing one or more processors to facilitate receiving a remotedesktop drawing command from a module of a remote machine using a remotedesktop display protocol, wherein the remote desktop drawing command isbased on an image of a remote desktop of the remote machine (see, e.g.,2204-B of FIG. 22B);

code for causing one or more processors to translate the remote desktopdrawing command into a display image and drawing coordinates for thedisplay image (see, e.g., 2206-B of FIG. 22B);

code for causing one or more processors to place the drawing coordinatesinto a hypertext transfer protocol (HTTP) response header (see, e.g.,2208-B of FIG. 22B); and

code for causing one or more processors to facilitate providing thedisplay image and the drawing coordinates together to the web browser ina single HTTP response to at least one of the drawing requests, fordrawing the display image of the remote desktop at the web browser,wherein the single HTTP response comprises the HTTP response header(see, e.g., 2210-B of FIG. 22B),

wherein the remote desktop display protocol is a push protocol, and HTTPis a pull protocol.

13. The machine-readable storage medium of clause 12, wherein the codefor causing one or more processors to translate is to be executed at aweb server, wherein the web server comprises a windows web server, andwherein the code for causing one or more processors to translatecomprises:

code for causing one or more processors to translate the remote desktopdrawing command into a windows graphics drawing command;

code for causing one or more processors to update a portion of a memorybitmap of the remote desktop in response to the windows graphics drawingcommand;

code for causing one or more processors to generate coordinates for theupdated portion of the memory bitmap from the windows graphics drawingcommand;

code for causing one or more processors to generate the display imagecompatible with the web browser based on the updated portion of thememory bitmap; and

code for causing one or more processors to obtain the drawingcoordinates for the display image based on the coordinates for theupdated portion of the memory bitmap,

wherein the display image and the drawing coordinates are compatiblewith hypertext markup language (HTML),

wherein the updated portion of the memory bitmap represents a portion ofan image of the remote desktop of the remote machine,

wherein the display image and the drawing coordinates represent theportion of the image of the remote desktop of the remote machine.

14. The machine-readable storage medium of clause 12, wherein the remotedesktop drawing command comprises coordinates of a region of the remotedesktop that has changed relative to a previous remote desktop drawingcommand, wherein the coordinates specify a redrawing region, and whereinthe display image and the drawing coordinates are compatible withwindows graphic protocol and HTML5.

15. The machine-readable storage medium of clause 12, wherein thedisplay image comprises at least one of a scaled image of the remotedesktop or a display image comprising an offset image of the remotedesktop.

16. A machine-readable storage medium comprising instructions storedtherein, the instructions executable by one or more processors toperform one or more operations, the instructions comprising:

code for causing one or more processors to facilitate receiving aplurality of drawing requests from a web browser of a client device,using a hypertext transfer protocol (HTTP), wherein HTTP is a pullprotocol;

code for causing one or more processors to handle the plurality ofdrawing requests as asynchronous requests;

code for causing one or more processors to facilitate receiving a remotedesktop drawing command from a module of a remote machine;

code for causing one or more processors to translate the remote desktopdrawing command into a web browser drawing update, wherein the remotedesktop drawing command is compatible with a push protocol, wherein theweb browser drawing update is compatible with HTTP; and

code for causing one or more processors to facilitate providing the webbrowser drawing update to the web browser of the client device,utilizing HTTP, as a response to at least one of the plurality ofdrawing requests from the web browser.

17. The machine-readable storage medium of clause 16, wherein the codefor causing one or more processors to handle comprises:

code for causing one or more processors to determine whether a drawingcommand is pending at a web server for the web browser;

if there is no pending drawing command, then code for causing one ormore processors to store the plurality of drawing requests in a drawingrequests queue as asynchronous requests; and

if there is a pending drawing command, then code for causing one or moreprocessors to facilitate providing at least one of the plurality ofdrawing requests to an HTTP handler module in the web server to allowthe HTTP handler module to serve the pending drawing command in responseto the at least one of the plurality of drawing requests.

18. The machine-readable storage medium of clause 16, wherein the remotedesktop drawing command represents a portion of an image of a remotedesktop of the remote machine,

wherein the code for causing one or more processors to translatecomprises:

-   -   code for causing one or more processors to translate the remote        desktop drawing command into a windows graphics drawing command;    -   code for causing one or more processors to update a portion of a        memory bitmap of the image of the remote desktop in response to        the windows graphics drawing command;    -   code for causing one or more processors to generate coordinates        of the updated portion of the memory bitmap based on the windows        graphics drawing command;    -   code for causing one or more processors to generate an image        file based on the updated portion of the memory bitmap, wherein        the image file is compatible with the web browser; and    -   code for causing one or more processors to obtain drawing        coordinates for the image file based on the coordinates of the        updated portion of the memory bitmap,

wherein the web browser drawing update comprises the image file and thedrawing coordinates.

19. The machine-readable storage medium of clause 17, wherein the codefor causing one or more processors to facilitate providing comprises:

code for causing one or more processors to place, at the HTTP handlermodule, the drawing coordinates into an HTTP header of a single HTTPtransmission response to the web browser;

code for causing one or more processors to include, at the HTTP handlermodule, the image file into the single HTTP transmission response to theweb browser to facilitate providing the image file and the drawingcoordinates together to the web browser in the single HTTP transmissionresponse; and

code for causing one or more processors to, when a drawing commandsqueue has new coordinates, send a notification to the drawing requestsqueue to allow at least one of the plurality of drawing requests in thedrawing requests queue to be forwarded to the HTTP handler module.

20. The machine-readable storage medium of clause 16, wherein theinstructions comprise:

code for causing one or more processors to facilitate receiving arequest from the web browser to connect to the remote machine;

code for causing one or more processors to facilitate providing a clientscript code to the web browser in response to the request to connect tothe remote machine,

wherein the code for causing one or more processors to facilitatereceiving the plurality of drawing requests comprises code for causingone or more processors to facilitate receiving the plurality of drawingrequests from the client script code,

wherein the code for causing one or more processors to facilitateproviding the web browser drawing update comprises code for causing oneor more processors to facilitate providing the web browser drawingupdate to the client script code; and

code for causing one or more processors to facilitate deleting theclient script code from the web browser when the remote desktop sessionis terminated.

21. The machine-readable storage medium of clause 16, wherein theinstructions comprise:

code for causing one or more processors to facilitate receiving, at aweb server, a user input request from the web browser for accessing orcontrolling a remote desktop of the remote machine,

code for causing one or more processors to translate, at the web server,the user input request into an input command compatible with the pushprotocol;

code for causing one or more processors to facilitate providing theinput command to the remote machine utilizing the push protocol,

wherein the code for causing one or more processors to facilitatereceiving the remote desktop drawing command comprises code for causingone or more processors to facilitate receiving the remote desktopdrawing command in response to the input command.

22. A computing machine comprising the machine-readable storage mediumof clause 12, wherein the computing machine is a web server.

23. An apparatus (see, e.g., 2200-C of FIG. 22C) for facilitating aremote desktop session between a web browser of a client device and aremote machine through a web server, utilizing hypertext transferprotocol (HTTP) headers of HTTP for remote desktop session drawing, theapparatus comprising:

means for receiving drawing requests from the web browser of the clientdevice (see, e.g., 2202-C of FIG. 22C);

means for receiving a remote desktop drawing command from the remotemachine using a remote desktop display protocol, wherein the remotedesktop drawing command is based on an image of a remote desktop of theremote machine (see, e.g., 2204-C of FIG. 22C);

means for translating the remote desktop drawing command into a displayimage and drawing coordinates for the display image (see, e.g., 2206-Cof FIG. 22C);

means for placing the drawing coordinates into an HTTP response header(see, e.g., 2208-C of FIG. 22C); and

means for, in response to at least one of the drawing requests,facilitating providing the display image and the drawing coordinatestogether to the web browser in a single HTTP response, for drawing thedisplay image of the remote desktop at the web browser, wherein thesingle HTTP response comprises the HTTP response header (see, e.g.,2210-C of FIG. 22C),

wherein (i) the remote desktop display protocol is a push protocol, and(ii) HTTP is a pull protocol, and (iii) the web browser comprises awindows web browser.

24. The apparatus of clause 23, wherein the means for translatingcomprises:

means for translating the remote desktop drawing command into a windowsgraphics drawing command, wherein the web server comprises one or moreweb applications including one or more HTTP handlers;

means for updating a portion of a memory bitmap of the remote desktop inresponse to the windows graphics drawing command;

means for generating coordinates for the updated portion of the memorybitmap from the windows graphics drawing command;

means for generating the display image compatible with the web browserbased on the updated portion of the memory bitmap; and

means for obtaining the drawing coordinates for the display image basedon the coordinates for the updated portion of the memory bitmap,

wherein the display image and the drawing coordinates are compatiblewith HTML,

wherein the updated portion of the memory bitmap represents a portion ofan image of the remote desktop of the remote machine,

wherein the display image and the drawing coordinates represent theportion of the image of the remote desktop of the remote machine.

25. The apparatus of clause 23, wherein the remote desktop drawingcommand comprises coordinates of a region of the remote desktop that haschanged relative to a previous remote desktop drawing command, whereinthe coordinates specify a redrawing region, and wherein the displayimage and the drawing coordinates are compatible with windows graphicprotocol and HTML5.

26. The apparatus of clause 23, wherein the display image comprises atleast one of a scaled image of the remote desktop or a display imagecomprising an offset image of the remote desktop.

27. The apparatus of clause 23, wherein the web server is anintermediary between the remote machine and the client device, andwherein the web server is physically separate from the remote machine.

28. An apparatus for facilitating a remote desktop session between a webbrowser of a client device and a remote machine through a web server,utilizing asynchronous handling of requests to reduce traffic to theclient device, the apparatus comprising:

means for receiving a plurality of drawing requests from the web browserof the client device, using HTTP, wherein HTTP is a pull protocol;

means for handling the plurality of drawing requests as asynchronousrequests;

means for receiving a remote desktop drawing command from the remotemachine;

means for translating the remote desktop drawing command into a webbrowser drawing update, wherein the remote desktop drawing command iscompatible with a push protocol, wherein the web browser drawing updateis compatible with HTTP; and

means for facilitating providing the web browser drawing update from theweb server to the web browser of the client device, utilizing HTTP, as aresponse to at least one of the plurality of drawing requests from theweb browser,

wherein the web server comprises a windows web server and the webbrowser is a windows web browser.

29. The apparatus of clause 28, wherein the means for handlingcomprises:

means for determining whether a drawing command is pending at the webserver for the web browser;

means for storing the plurality of drawing requests in a drawingrequests queue as asynchronous requests, if there is no pending drawingcommand; and

means for providing at least one of the plurality of drawing requests toan HTTP handler module in the web server to allow the HTTP handlermodule to serve the pending drawing command in response to the at leastone of the plurality of drawing requests, if there is a pending drawingcommand.

30. The apparatus of clause 28, wherein the remote desktop drawingcommand represents a portion of an image of a remote desktop of theremote machine,

wherein the means for translating comprises:

-   -   means for translating the remote desktop drawing command into a        windows graphics drawing command;    -   means for updating a portion of a memory bitmap of the image of        the remote desktop in response to the windows graphics drawing        command;    -   means for generating coordinates of the updated portion of the        memory bitmap based on the windows graphics drawing command;    -   means for generating an image file based on the updated portion        of the memory bitmap, wherein the image file is compatible with        the web browser, wherein the image file includes a windows image        file compatible with windows web browser; and    -   means for obtaining drawing coordinates for the image file based        on the coordinates of the updated portion of the memory bitmap,

wherein the web browser drawing update comprises the image file and thedrawing coordinates.

31. The apparatus of clause 28, wherein the means for facilitatingproviding comprises:

means for placing the drawing coordinates into an HTTP header of asingle HTTP transmission response to the web browser;

means for including the image file into the single HTTP transmissionresponse to the web browser to facilitate providing the image file andthe drawing coordinates together to the web browser in the single HTTPtransmission response; and

means for sending a notification to the drawing requests queue to allowat least one of the plurality of drawing requests in the drawingrequests queue to be forwarded to the HTTP handler module, when adrawing commands queue has new coordinates.

32. The apparatus of clause 28, comprising:

means for receiving a request from the web browser to connect to theremote machine;

means for facilitating providing a client script code to the web browserin response to the request to connect to the remote machine,

wherein the means for receiving the plurality of drawing requestscomprises means for receiving the plurality of drawing requests from theclient script code,

wherein the means for facilitating providing the web browser drawingupdate comprises means for facilitating providing the web browserdrawing update to the client script code; and

means for facilitating deleting the client script code from the webbrowser when the remote desktop session is terminated.

33. The apparatus of clause 28, comprising:

means for receiving a user input request from the web browser foraccessing or controlling a remote desktop of the remote machine,

means for translating the user input request into an input commandcompatible with the push protocol;

means for facilitating providing the input command to the remote machineutilizing the push protocol,

wherein the means for receiving the remote desktop drawing commandcomprises means for receiving the remote desktop drawing command inresponse to the input command.

34. The apparatus of clause 28, wherein the apparatus is the web server.

35. The apparatus of clause 28, wherein the apparatus comprises aprocessing system and a memory.

Illustration of Method/Apparatus/Machine Readable Storage Medium forfacilitating a remote desktop session for a web browser and a remotedesktop server (described as Clauses).

The subject technology is illustrated, for example, according to variousaspects described below. Various examples of aspects of the subjecttechnology are described as numbered clauses (1, 2, 3, etc.) forconvenience. These are provided as examples, and do not limit thesubject technology. It is noted that any of the dependent clauses may becombined in any combination, and placed into a respective independentclause. Clause 1 below is presented, for example, with reference to FIG.23A. The other clauses can be presented in a similar manner.

1. A method (see, e.g., method 2300-A of FIG. 23A) for facilitating aremote desktop session between a web browser (see, e.g., 810 of FIG. 8A)of a client device (see, e.g., 802 of FIG. 8A) and a remote desktopserver at a remote machine (see, e.g., 830 of FIG. 8A) through a webserver (see, e.g., 820 of FIG. 8A), utilizing a wrapper (see, e.g., 826of FIG. 8A) of the web server (see, e.g., 820 of FIG. 8A), the methodcomprising:

receiving, at the wrapper, an input request from the web browserutilizing a request-response protocol, wherein the request-responseprotocol is a pull protocol (see, e.g., 2302-A of FIG. 23A);

translating, at the wrapper, the input request into an input commandcompatible with a remote desktop display protocol to be utilized by aremote desktop client at the web server for facilitating communicationwith the remote desktop server at the remote machine, wherein the remotedesktop display protocol is a push protocol (see, e.g., 2304-A of FIG.23A);

providing the input command to the remote desktop client at the webserver, to facilitate providing the input command to the remote desktopserver utilizing the remote desktop display protocol (see, e.g., 2306-Aof FIG. 23A);

receiving, at the wrapper, a remote desktop drawing command from theremote desktop server in response to the input command, wherein theremote desktop drawing command is based on an image of a remote desktopof the remote machine (see, e.g., 2308-A of FIG. 23A); and

translating, at the wrapper, the remote desktop drawing command into agraphics drawing command compatible with the web server to allow the webserver to facilitate providing a web browser drawing update to the webbrowser, wherein the web browser comprises a windows web browser and theweb browser drawing update is compatible with the windows web browser(see, e.g., 2310-A of FIG. 23A).

2. The method of clause 1, wherein the request-response protocolcomprises hypertext transfer protocol (HTTP), wherein the graphicsdrawing command is a windows graphics drawing command, wherein the webserver is a windows web server, wherein the web browser is hypertextmarkup language 5 (HTML5) compatible.

3. The method of clause 1, wherein the receiving the input requestcomprises receiving the input request from the web browser via an HTTPhandler of a web application including an ASP.NET model-view-controller(MVC) at the web server,

wherein the receiving the remote desktop drawing command comprisesreceiving the remote desktop drawing command via the remote desktopclient using the remote desktop display protocol,

wherein the remote desktop drawing command comprises remote desktopdrawing command parameters and bitmap data received from the remotedesktop server, and

wherein the translating the remote desktop drawing command comprises oneor more of: calculating new drawing command parameters based on theremote desktop drawing command parameters; adjusting the remote desktopdrawing command parameters; and making adjustments to the bitmap data.

4. The method of clause 1, comprising:

executing the graphics drawing command to generate and draw an imageinto a drawing commands module at the web server that is accessible byan HTTP handler at the web server for communicating with the webbrowser;

generating coordinates for the image based on the graphics drawingcommand;

storing the coordinates in the drawing commands queue;

after generating the coordinates, transmitting a notification to theHTTP handler that a drawing command is ready to be served to the webbrowser,

wherein each of the image and the graphics drawing command represents aportion of an image of the remote desktop;

updating at least a portion of an off-screen bitmap based on thegraphics drawing command, wherein the at least a portion of theoff-screen bitmap is associated with the coordinates, wherein theoff-screen bitmap represents an image of the remote desktop.

5. The method of clause 1, comprising:

receiving, via an HTTP handler of the web server, a connection requestfrom the web browser; and

facilitating establishing, controlling or terminating the remote desktopsession between the remote desktop client and the remote desktop serverin response to the connection request, wherein the facilitating of theestablishing, controlling or terminating comprises:

-   -   generating a session control command based on the connection        request, wherein the session control command is compatible with        the remote desktop display protocol; and    -   facilitating transmitting the session control command to the        remote desktop server via the remote desktop client using the        remote desktop display protocol, wherein the session control        command comprises at least one of: a command for starting the        remote desktop session, a command for stopping the remote        desktop session, a credential, a setting, a preference, and a        command for passing at least one of a credential, a setting, and        a preference.

6. A method for facilitating accessing and controlling a remote desktopof a remote machine in real time from a web browser of a client deviceutilizing a web server, the method comprising:

receiving, at the web server, a connection request from the web browserutilizing HTTP;

translating, at the web server, the connection request into a sessioncontrol command compatible with a remote desktop display protocol;

providing the session control command to a remote desktop client of theweb server for providing the session control command to a remote desktopserver of the remote machine and for establishing, controlling orterminating a remote desktop session with the remote desktop server;

receiving, at the web server, a user input request from the web browserutilizing HTTP,

translating, at the web server, the user input request into a remotedesktop input command compatible with the remote desktop displayprotocol;

providing the remote desktop input command to the remote desktop clientfor providing the remote desktop input command to the remote desktopserver;

receiving, at the web server, a remote desktop drawing command from theremote desktop server via the remote desktop client in response to theremote desktop input command, wherein the remote desktop drawing commandis compatible with the remote desktop display protocol, and wherein theremote desktop drawing command represents a portion of an image of theremote desktop;

translating, at the web server, the remote desktop drawing command intoa graphics drawing command compatible with the web server;

updating, at the web server, a portion of an image and coordinates basedon the graphics drawing command;

generating, at the web server, an image file based on the updatedportion of the image;

obtaining drawing coordinates based on the coordinates; and

facilitating providing a web browser drawing update to the web browserin response to a drawing request from the web browser, wherein the webbrowser drawing update comprises the image file and the drawingcoordinates, and wherein the web browser drawing update is compatiblewith the web browser,

wherein the remote desktop drawing command represents a portion of theremote desktop, and the image represents the remote desktop,

wherein (i) the web server comprises a windows web server, (ii) the webbrowser is s windows web browser, (iii) the remote desktop displayprotocol is a push protocol, and (iv) HTTP is a pull protocol.

7. The method of clause 6, wherein the user input request comprises atleast one of a mouse event, a keyboard event, and a touch event, whereinthe updating a portion of an image and coordinates comprises storing theportion of the image and the coordinates into a drawing commands queue,wherein the graphics drawing command is a windows graphics drawingcommand, and wherein the web browser is HTML5 compatible.

8. The method of clause 6, wherein the updating a portion of an imageand coordinates comprises storing the portion of the image and thecoordinates into a drawing commands buffer,

wherein the method comprises an asynchronous request handlingcomprising: receiving the drawing request from the web browser utilizingHTTP; forwarding the drawing request to an HTTP handler module ifcoordinates for an image are pending in the drawing commands buffer;placing the drawing request into a drawing requests queue if coordinatesfor an image are not pending in the drawing commands buffer, and

wherein the method comprises: sending a notification to the drawingrequests queue if the drawing commands buffer receives a new drawingcommand comprising an image and coordinates for an image.

9. The method of clause 6, comprising:

forwarding the drawing request to an HTTP handler in response to anotification from a drawing commands buffer that a drawing command ispending for the web browser;

placing the drawing coordinates into a section of an HTTP header,wherein the image file comprises a windows image file and thefacilitating providing the web browser drawing update comprisesfacilitating providing the windows image file and the drawingcoordinates together to the web browser in a single HTTP transmissionresponse for drawing a display image at the web browser, wherein thedisplay image represents the updated portion of the image representingthe remote desktop;

facilitating providing script client code compatible with the webbrowser, to the web browser, if the connection request from the webbrowser comprises a request to connect to the remote machine.

10. A machine-readable storage medium (see, e.g., 1210, 1219 in FIGS. 12and 2300-B of FIG. 23B) comprising instructions stored therein, theinstructions executable by one or more processors (see, e.g., 1202) toperform a one or more operations, the instructions comprising:

code for causing one or more processors to facilitate receiving an inputrequest from a web browser utilizing a request-response protocol,wherein the request-response protocol is a pull protocol (see, e.g.,2302-B of FIG. 23B);

code for causing one or more processors to translate the input requestinto an input command compatible with a remote desktop display protocolto be utilized by a remote desktop client for facilitating communicationwith a remote desktop server, wherein the remote desktop displayprotocol is a push protocol (see, e.g., 2304-B of FIG. 23B);

code for causing one or more processors to facilitate providing theinput command to the remote desktop client at the web server, tofacilitate providing the input command to the remote desktop serverutilizing the remote desktop display protocol (see, e.g., 2306-B of FIG.23B);

code for causing one or more processors to facilitate receiving a remotedesktop drawing command from the remote desktop server in response tothe input command, wherein the remote desktop drawing command is basedon an image of a remote desktop of the remote machine (see, e.g., 2308-Bof FIG. 23B); and

code for causing one or more processors to translate the remote desktopdrawing command into a graphics drawing command to facilitate providinga web browser drawing update to the web browser, wherein the web browsercomprises a windows web browser and the web browser drawing update iscompatible with the web browser (see, e.g., 2310-B of FIG. 23B).

11. The machine-readable storage medium of clause 10, wherein therequest-response protocol comprises hypertext transfer protocol (HTTP),wherein the graphics drawing command is a windows graphics drawingcommand, wherein a web server is for the remote desktop client a windowsweb server, wherein the web browser is HTML5 compatible.

12. The machine-readable storage medium of clause 10, wherein the codefor causing one or more processors to facilitate receiving the inputrequest comprises code for causing one or more processors to facilitatereceiving the input request from the web browser via an HTTP handler ofa web application at a web server,

wherein the code for causing one or more processors to facilitatereceiving the remote desktop drawing command comprises code for causingone or more processors to facilitate receiving the remote desktopdrawing command via the remote desktop client using the remote desktopdisplay protocol,

wherein the remote desktop drawing command comprises remote desktopdrawing command parameters and bitmap data received from the remotedesktop server, and

wherein the code for causing one or more processors to translate theremote desktop drawing command comprises one or more of: code forcausing one or more processors to calculate new drawing commandparameters based on the remote desktop drawing command parameters; codefor causing one or more processors to adjust the remote desktop drawingcommand parameters; and code for causing one or more processors to makeadjustments to the bitmap data.

13. The machine-readable storage medium of clause 10, wherein theinstructions comprise:

code for causing one or more processors to execute the graphics drawingcommand to generate and draw an image into a drawing commands module atthe web server that is accessible by HTTP handler at the web server forcommunicating with the web browser;

code for causing one or more processors to generate coordinates for theimage based on the graphics drawing command;

code for causing one or more processors to store the coordinates in thedrawing commands queue;

after generating the coordinates, code for causing one or moreprocessors to transmit a notification to the HTTP handler that a drawingcommand is ready to be served to the web browser,

wherein each of the image and the graphics drawing command represents aportion of an image of the remote desktop;

code for causing one or more processors to update at least a portion ofan off-screen bitmap based on the graphics drawing command, wherein theat least a portion of the off-screen bitmap is associated with thecoordinates, wherein the off-screen bitmap represents an image of theremote desktop.

14. The machine-readable storage medium of clause 10, wherein theinstructions comprise:

code for causing one or more processors to facilitate receiving, via anHTTP handler of a web server, a connection request from the web browser;and

code for causing one or more processors to facilitate establishing,controlling or terminating the remote desktop session between the remotedesktop client and the remote desktop server in response to theconnection request, wherein the code for causing one or more processorsto facilitate of the establishing, controlling or terminating comprises:

-   -   code for causing one or more processors to generate a session        control command based on the connection request, wherein the        session control command is compatible with the remote desktop        display protocol; and    -   code for causing one or more processors to facilitate        transmitting the session control command to the remote desktop        server via the remote desktop client using the remote desktop        display protocol, wherein the session control command comprises        at least one of: a command for starting the remote desktop        session, a command for stopping the remote desktop session, a        credential, a setting, a preference, and a command for passing        at least one of a credential, a setting, and a preference.

15. A computing machine comprising the machine-readable storage mediumof clause 10, wherein the computing machine is a web server.

16. A machine-readable storage medium comprising instructions storedtherein, the instructions executable by one or more processors tofacilitate accessing and controlling a remote desktop of a remotemachine in real time from a web browser of a client device via ahypertext transfer protocol (HTTP) handler and a remote desktop clientwrapper for a web server, the machine-readable storage mediumcomprising:

the HTTP handler; and

the remote desktop client wrapper,

wherein the HTTP handler is configured to facilitate receiving aconnection request and a user input request from the web browserutilizing HTTP, to facilitate providing the connection request and theuser input request to the remote desktop client wrapper, and tofacilitate providing a web browser drawing update to the web browser inresponse to a drawing request from the web browser, wherein the webbrowser drawing update is compatible with the web browser,

wherein the remote desktop client wrapper is configured to facilitatereceiving the connection request and the user input request, totranslate the connection request into a session control commandcompatible with a remote desktop display protocol, and to translate theuser input request into a remote desktop input command compatible withthe remote desktop display protocol,

wherein the remote desktop client wrapper is configured to facilitateproviding the session control command to a remote desktop client forproviding the session control command to a remote desktop server of theremote machine and for establishing, controlling or terminating a remotedesktop session with the remote desktop server,

wherein the remote desktop client wrapper is configured to facilitateproviding the remote desktop input command to the remote desktop clientfor providing the remote desktop input command to the remote desktopserver,

wherein the remote desktop client wrapper is configured to facilitatereceiving a remote desktop drawing command from the remote desktopserver via the remote desktop client in response to the remote desktopinput command, wherein the remote desktop drawing command is compatiblewith the remote desktop display protocol,

wherein the remote desktop client wrapper is configured to translate theremote desktop drawing command into a graphics drawing commandcompatible with the web server, and to update a portion of an imagerepresenting the remote desktop and coordinates based on the graphicsdrawing command, and

wherein the HTTP handler is configured to generate an image file basedon the updated portion of the image and to obtain drawing coordinatesbased on the coordinates in response to the drawing request, wherein theweb browser drawing update comprises the image file and the drawingcoordinates,

wherein the remote desktop drawing command represents a portion of theremote desktop, and the image represents the remote desktop

wherein (i) the web server comprises a windows web server, (ii) the webbrowser is s windows web browser, (iii) the remote desktop displayprotocol is a push protocol, and (iv) HTTP is a pull protocol.

17. The machine-readable storage medium of clause 16, wherein the userinput request comprises at least one of a mouse event, a keyboard event,and a touch event, wherein the remote desktop client wrapper isconfigured to update a portion of an image and coordinates by storingthe portion of the image and the coordinates into a drawing commandsbuffer, wherein the graphics drawing command is a windows graphicsdrawing command, and wherein the web browser is HTML5 compatible.

18. The machine-readable storage medium of clause 16, comprising anasynchronous handler configured to handle requests asynchronously by:facilitate receiving the drawing request from the web browser utilizingHTTP; forwarding the drawing request to an HTTP handler module ifcoordinates for an image are pending in the drawing commands buffer;placing the drawing request into a drawing requests queue if coordinatesfor an image are not pending in the drawing commands buffer, and

wherein the HTTP handler is configured to send a notification to thedrawing requests queue if the drawing commands buffer receives a newdrawing command comprising an image and coordinates for an image.

19. The machine-readable storage medium of clause 16, wherein the webserver is configured to forward the drawing request to the HTTP handlerin response to a notification from a drawing commands buffer that adrawing command is pending for the web browser,

wherein the HTTP handler is configured to place the drawing coordinatesinto a section of an HTTP header, wherein the image file comprises awindows image file and to facilitate providing the windows image fileand the drawing coordinates together to the web browser in a single HTTPtransmission response for drawing a display image at the web browser,wherein the display image represents the updated portion of the imagerepresenting the remote desktop, and

wherein the HTTP handler is configured to facilitate providing scriptclient code compatible with the web browser, to the web browser, if theconnection request from the web browser comprises a request to connectto the remote machine.

20. An apparatus (see, e.g., 2300-C of FIG. 23C) for facilitating aremote desktop session between a web browser of a client device and aremote desktop server of a remote machine through a web server,utilizing a wrapper at the web server, the apparatus comprising:

means for receiving an input request from the web browser utilizing arequest-response protocol, wherein the request-response protocol is apull protocol (see, e.g., 2302-C of FIG. 23C);

means for translating the input request into an input command compatiblewith a remote desktop display protocol to be utilized by a remotedesktop client at the web server for facilitating communication with theremote desktop server at the remote machine, wherein the remote desktopdisplay protocol is a push protocol (see, e.g., 2304-C of FIG. 23C);

means for providing the input command to a remote desktop client at theweb server, to facilitate providing the input command to the remotedesktop server utilizing the remote desktop display protocol (see, e.g.,2306-C of FIG. 23C);

means for receiving a remote desktop drawing command from the remotedesktop server in response to the input command, wherein the remotedesktop drawing command is based on an image of a remote desktop of theremote machine (see, e.g., 2308-C of FIG. 23C); and

means for translating the remote desktop drawing command into a graphicsdrawing command compatible with the web server to allow the web serverto facilitate providing a web browser drawing update to the web browser,wherein the web browser comprises a windows web browser and the webbrowser drawing update is compatible with the windows web browser (see,e.g., 2310-C of FIG. 23C).

21. The apparatus of clause 20, wherein the request-response protocolcomprises hypertext transfer protocol (HTTP), wherein the graphicsdrawing command is a windows graphics drawing command, wherein the webserver is a windows web server, wherein the web browser is HTML5compatible.

22. The apparatus of clause 20, wherein the means for receiving theinput request comprises means for receiving the input request from theweb browser via an HTTP handler of a web application at the web server,

wherein the means for receiving the remote desktop drawing commandcomprises means for receiving the remote desktop drawing command via theremote desktop client using the remote desktop display protocol,

wherein the remote desktop drawing command comprises remote desktopdrawing command parameters and bitmap data received from the remotedesktop server, and

wherein the translating the remote desktop drawing command comprises oneor more of: calculating new drawing command parameters based on theremote desktop drawing command parameters; adjusting the remote desktopdrawing command parameters; and making adjustments to the bitmap data.

23. The apparatus of clause 20, comprising:

means for executing the graphics drawing command to generate and draw animage into a drawing commands module at the web server that isaccessible by an HTTP handler at the web server for communicating withthe web browser;

means for generating coordinates for the image based on the graphicsdrawing command;

means for storing the coordinates in the drawing commands queue;

means for transmitting a notification to the HTTP handler that a drawingcommand is ready to be served to the web browser, after generating thecoordinates,

wherein each of the image and the graphics drawing command represents aportion of an image of the remote desktop;

means for updating at least a portion of an off-screen bitmap based onthe graphics drawing command, wherein the at least a portion of theoff-screen bitmap is associated with the coordinates, wherein theoff-screen bitmap represents an image of the remote desktop.

24. The apparatus of clause 20, comprising:

means for receiving, via an HTTP handler of the web server, a connectionrequest from the web browser; and

means for facilitating establishing, controlling or terminating theremote desktop session between the remote desktop client and the remotedesktop server in response to the connection request, wherein the meansfor facilitating of the establishing, controlling or terminatingcomprises:

-   -   means for generating a session control command based on the        connection request, wherein the session control command is        compatible with the remote desktop display protocol; and    -   means for facilitating transmitting the session control command        to the remote desktop server via the remote desktop client using        the remote desktop display protocol, wherein the session control        command comprises at least one of: a command for starting the        remote desktop session, a command for stopping the remote        desktop session, a credential, a setting, a preference, and a        command for passing at least one of a credential, a setting, and        a preference.

25. An apparatus for facilitating accessing and controlling a remotedesktop of a remote machine in real time from a web browser of a clientdevice utilizing a web server, the apparatus comprising:

means for receiving a connection request from the web browser utilizingHTTP;

means for translating the connection request into a session controlcommand compatible with a remote desktop display protocol;

means for providing the session control command to a remote desktopclient of the web server for providing the session control command to aremote desktop server of the remote machine and for establishing,controlling or terminating a remote desktop session with the remotedesktop server;

means for receiving a user input request from the web browser utilizingHTTP,

means for translating the user input request into a remote desktop inputcommand compatible with the remote desktop display protocol;

means for providing the remote desktop input command to the remotedesktop client for providing the remote desktop input command to theremote desktop server;

means for receiving a remote desktop drawing command from the remotedesktop server via the remote desktop client in response to the remotedesktop input command, wherein the remote desktop drawing command iscompatible with the remote desktop display protocol, and wherein theremote desktop drawing command represents a portion of an image of theremote desktop;

means for translating the remote desktop drawing command into a graphicsdrawing command compatible with the web server;

means for updating a portion of an image and coordinates based on thegraphics drawing command;

means for generating an image file based on the updated portion of theimage;

means for obtaining drawing coordinates based on the coordinates; and

means for facilitating providing a web browser drawing update to the webbrowser in response to a drawing request from the web browser, whereinthe web browser drawing update comprises the image file and the drawingcoordinates, and wherein the web browser drawing update is compatiblewith the web browser,

wherein the remote desktop drawing command represents a portion of theremote desktop, and the image represents the remote desktop,

wherein (i) the web server comprises a windows web server, (ii) the webbrowser is s windows web browser, (iii) the remote desktop displayprotocol is a push protocol, and (iv) HTTP is a pull protocol.

26. The apparatus of clause 25, wherein the user input request comprisesat least one of a mouse event, a keyboard event, and a touch event,wherein the means for updating a portion of an image and coordinatescomprises means for storing the portion of the image and the coordinatesinto a drawing commands queue, wherein the graphics drawing command is awindows graphics drawing command, and wherein the web browser is HTML5compatible.

27. The apparatus of clause 25, wherein the means for updating a portionof an image and coordinates comprises means for storing the portion ofthe image and the coordinates into a drawing commands buffer,

wherein the apparatus comprises means for asynchronous request handlingcomprising: means for receiving the drawing request from the web browserutilizing HTTP; means for forwarding the drawing request to an HTTPhandler module if coordinates for an image are pending in the drawingcommands buffer; means for placing the drawing request into a drawingrequests queue if coordinates for an image are not pending in thedrawing commands buffer, and

wherein the apparatus comprises: means for sending a notification to thedrawing requests queue if the drawing commands buffer receives a newdrawing command comprising an image and coordinates for an image.

28. The apparatus of clause 25, comprising:

means for forwarding the drawing request to an HTTP handler in responseto a notification from a drawing commands buffer that a drawing commandis pending for the web browser;

means for placing the drawing coordinates into a section of an HTTPheader, wherein the image file comprises a windows image file and themeans for facilitating providing the web browser drawing updatecomprises means for facilitating providing the windows image file andthe drawing coordinates together to the web browser in a single HTTPtransmission response for drawing a display image at the web browser,wherein the display image represents the updated portion of the imagerepresenting the remote desktop;

means for facilitating providing script client code compatible with theweb browser, to the web browser, if the connection request from the webbrowser comprises a request to connect to the remote machine.

29. The apparatus of clause 25, wherein the apparatus is the web server.

30. The apparatus of clause 25, wherein the apparatus comprises aprocessing system and memory.

31. An Apparatus comprising modules configured to perform the method ofany one of the forgoing clauses.

32. The apparatus of clause 31, comprising the web server.

33. The apparatus of clause 31, comprising a processing system andmemory.

34. A machine-readable storage medium comprising code for causing theweb server to perform the method of any one of the forgoing clauses.

35. The machine-readable storage medium of clause 34, wherein the webserver comprises the machine-readable storage medium.

36. An apparatus comprising means for performing the method of any oneof the forgoing clauses.

37. The apparatus of clause 36, comprising a web server.

38. The apparatus of clause 36, comprising a processing system andmemory.

39. An apparatus comprising components operable to perform the method ofany one of the forgoing clauses.

40. The apparatus of clause 39, comprising a web server.

41. The apparatus of clause 39, comprising a processing system andmemory.

Without limitation and without limiting the scope of the foregoingclauses or this disclosure, in one aspect, illustrations of theforegoing clauses may include FIGS. 8-11 with the correspondingdescription in the disclosure.

Without limitation and without limiting the scope of the foregoingclauses or this disclosure, in one aspect, the foregoing clauses arere-stated herein and FIGS. 14A through 19E are re-drawn herein, with thephrase “transcoding server” replaced with the phrase “web server” (e.g.,820 in FIG. 8), with the phrase “long polling request” replaced with thephrase “asynchronous request”, and with the phrase “adapter” replacedwith the phrase “Wrapper.”

Without limitation and without limiting the scope of the foregoingclauses or this disclosure, referring to FIG. 8, the foregoing clausesand the previous paragraph, in one aspect, an example of a client devicemay be client device 802 of FIG. 8, an example of a remote machine maybe 830, an example of a web browser may be 810, an example of a webapplication container may be 822, an example of a HTTP handler may be344, an example of a transcoder server may be 820, an example of a HTTPhandler may be 824, and an example of a remote desktop client adaptormay be 826, an example of a HTTP handler may be 344. Referring to FIG.9, the foregoing clauses and the previous paragraph, in one aspect, anexample of a transcoding server may be web server 901 of FIG. 9, anexample of a HTTP handler may be 912, 916, and an example of a longpolling handler may be 914.

In one aspect, any of the clauses herein may depend from any one of theindependent clauses or any one of the dependent clauses. In one aspect,any of the clauses (e.g., dependent or independent clauses) may becombined with any other clauses (e.g., dependent or independentclauses). In one aspect, a claim may include some or all of the words(e.g., steps, operations, means or components) recited in a clause, asentence, a phrase or a paragraph. In one aspect, a claim may includesome or all of the words recited in one or more clauses, sentences,phrases or paragraphs. In one aspect, some of the words in each of theclauses, sentences, phrases or paragraphs may be removed. In one aspect,additional words or elements may be added to a clause, a sentence, aphrase or a paragraph. In one aspect, the subject technology may beimplemented without utilizing some of the components, elements,functions or operations described herein. In one aspect, the subjecttechnology may be implemented utilizing additional components, elements,functions or operations.

Those of skill in the art would appreciate that the various illustrativeblocks, modules, elements, components, methods, and algorithms describedherein may be implemented as electronic hardware, computer software, orcombinations of both.

For example, a module (e.g., a web application container, a long pollinghandler module, a long polling handler, a drawing requests queue, anHTTP handler, an image conversion module, a drawing commands queue, aremote desktop client adapter, a remote desktop client, a remote desktopserver, an input listener, an image.onload handler, animage.onerror/image.on abort handler, a drawing command handler, aremote desktop client manager, a user input handler, an HTML canvas, ascript client, an HTTP handler, a remote desktop client wrapper, an HTTPhandler response ready, an HTTP request switch, a drawing coordinatesqueue, a memory bitmap, a drawing commands module, a remote desktopsession module, a user input module, or other modules or functions) maybe implemented as electronic hardware, computer software, orcombinations of both. Modules may be considered in some aspects as“means for” accomplishing one or more functions or steps. In one aspect,a module(s) may be an apparatus since a module(s) may includeinstructions encoded or stored on a machine-readable medium, on anotherdevice, or on a portion thereof, where an instruction(s) may besoftware, an application(s), a subroutine(s), or a portion thereof,where the instructions(s) may be for performing the function(s) oroperation(s). In one aspect, a module(s) may be software (e.g., anapplication, a subroutine) stored in a machine-readable medium andexecutable by a processing system or a processor. In another aspect, amodule(s) may be hardware (e.g., machine-readable medium encoded withinstructions, a pre-programmed general-purpose computer with for exampleASIC or FPGA, or a special purpose electronic or optical device). In anaspect, a module may be implemented as one or more circuits configuredto perform the function(s) or operation(s). A circuit may include one ormore circuits and/or logic. A circuit may be analog and/or digital. Acircuit may be electrical and/or optical. A circuit may includetransistors. In an example, one or more modules may be implemented as aprocessing system (e.g., a digital signal processor (DSP), anapplication specific integrated circuit (ASIC), a field programmablegate array (FPGA), etc.), as a portion(s) of any of the foregoing, or asa combination(s) of any of the foregoing. Those skilled in the art willrecognize how to implement the instructions, circuits, and processingsystems.

To illustrate this interchangeability of hardware and software, variousillustrative blocks, modules, elements, components, methods, andalgorithms have been described above generally in terms of theirfunctionality. Whether such functionality is implemented as hardware orsoftware depends upon the particular application and design constraintsimposed on the overall system. Skilled artisans may implement thedescribed functionality in varying ways for each particular application.

In one aspect of the disclosure, when actions or functions (e.g.,receiving, determining, providing, generating, converting, displaying,notifying, accepting, selecting, controlling, transmitting, reporting,sending, establishing, building, or any other action or function) aredescribed as being performed by an item (e.g., one or more of blocks,modules, elements, components or processors), it is understood that suchactions or functions may be performed, for example, by the item directlyor indirectly. In an example, when an item is described as performing anaction, the item may be understood to perform the action indirectly, forexample, by facilitating such an action (e.g., assisting, allowing,enabling, causing, or providing for, such action to occur; or performinga portion of such an action). For example, determining can refer tofacilitating determination, attaching can refer to facilitatingattaching, and receiving can refer to facilitating receiving. Forinstance, facilitating receiving an item may, for example, includeproviding a code to allow an entity to receive the item. For instance,when a session is described as being established by a module, it isunderstood that the module may establish the session indirectly byfacilitating an establishment of the session. As yet another example,when an image is described as being displayed or rendered by a module,it is understood that the image may be displayed or rendered by themodule either directly or indirectly. In one aspect, performing anaction may refer to performing a portion of the action (e.g., performinga beginning part of the action, performing an end part of the action, orperforming a middle portion of the action).

Various components and blocks may be arranged differently (e.g.,arranged in a different order, or partitioned in a different way) allwithout departing from the scope of the subject technology. In oneaspect of the disclosure, the modules (or elements) recited in theaccompanying claims may be performed by one module or by a smallernumber of modules, and this arrangement is within the scope of theclaims. In another aspect, the modules (or elements) recited in theaccompanying claims may be performed by a larger number of modules, andthis arrangement is within the scope of the claims. In yet anotheraspect, a module (or an element) recited in the accompanying claims maybe performed by multiple modules, and this arrangement is within thescope of the claims.

It is understood that the specific order or hierarchy of steps in theprocesses disclosed is an illustration of exemplary approaches. Basedupon design preferences, it is understood that the specific order orhierarchy of steps in the processes may be rearranged. Some of the stepsmay be performed simultaneously. The accompanying method claims presentelements of the various steps in a sample order, and are not meant to belimited to the specific order or hierarchy presented.

The previous description is provided to enable any person skilled in theart to practice the various aspects described herein. The previousdescription provides various examples of the subject technology, and thesubject technology is not limited to these examples. Variousmodifications to these aspects will be readily apparent to those skilledin the art, and the generic principles defined herein may be applied toother aspects. Thus, the claims are not intended to be limited to theaspects shown herein, but is to be accorded the full scope consistentwith the language claims, wherein reference to an element (e.g., acommand, a call, a handler, a device, a machine, etc.) in the singularis not intended to mean “one and only one” unless specifically sostated, but rather “one or more.” Unless specifically stated otherwise,the term “some” refers to one or more. Pronouns in the masculine (e.g.,his) include the feminine and neuter gender (e.g., her and its) and viceversa. Headings and subheadings, if any, are used for convenience onlyand do not limit the invention.

A phrase such as an “aspect” does not imply that such aspect isessential to the subject technology or that such aspect applies to allconfigurations of the subject technology. A disclosure relating to anaspect may apply to all configurations, or one or more configurations.An aspect may provide one or more examples of the disclosure. A phrasesuch as an aspect may refer to one or more aspects and vice versa. Aphrase such as an “embodiment” does not imply that such embodiment isessential to the subject technology or that such embodiment applies toall configurations of the subject technology. A disclosure relating toan embodiment may apply to all embodiments, or one or more embodiments.An embodiment may provide one or more examples of the disclosure. Aphrase such an embodiment may refer to one or more embodiments and viceversa. A phrase such as a “configuration” does not imply that suchconfiguration is essential to the subject technology or that suchconfiguration applies to all configurations of the subject technology. Adisclosure relating to a configuration may apply to all configurations,or one or more configurations. A configuration may provide one or moreexamples of the disclosure. A phrase such a configuration may refer toone or more configurations and vice versa.

The word “exemplary” is used herein to mean “serving as an example orillustration.” Any aspect or design described herein as “exemplary” isnot necessarily to be construed as preferred or advantageous over otheraspects or designs.

In one aspect, the term “compatible” may be used in a sense that a firstelement (e.g., a drawing command, an input call, an input command, aconnection request, a drawing request, etc.) is compatible with a secondelement (e.g., a remote desktop display protocol, a remote desktopclient, a remote desktop server, a transcoding server, a web browser, aclient device, a remote machine, HTML5, HTTP, etc.) so that the firstelement can be recognized or understood by the second element, can beprocessed by the second element, or can be utilized by or with thesecond element.

All structural and functional equivalents to the elements of the variousaspects described throughout this disclosure that are known or latercome to be known to those of ordinary skill in the art are expresslyincorporated herein by reference and are intended to be encompassed bythe claims. Moreover, nothing disclosed herein is intended to bededicated to the public regardless of whether such disclosure isexplicitly recited in the claims. No claim element is to be construedunder the provisions of 35 U.S.C. §112, sixth paragraph, unless theelement is expressly recited using the phrase “means for” or, in thecase of a method claim, the element is recited using the phrase “stepfor.” Furthermore, to the extent that the term “include,” “have,” or thelike is used in the description or the claims, such term is intended tobe inclusive in a manner similar to the term “comprise” as “comprise” isinterpreted when employed as a transitional word in a claim.

What is claimed is:
 1. A method of facilitating accessing andcontrolling a remote desktop of a remote machine in real time by a webbrowser at a client device via a hypertext transfer protocol (HTTP)utilizing a web server, the method comprising: receiving, at a webserver, a long polling HTTP request from a client device, the longpolling request comprising a drawing request; determining whether aremote desktop drawing command is pending; in response to determiningthat no remote desktop drawing command is pending, holding the longpolling HTTP request until a remote desktop drawing command is received;receiving, at the web server, a remote desktop drawing command based onan image of the remote desktop of the remote machine, wherein the remotedesktop drawing command is compatible with a remote desktop displayprotocol utilized by the remote machine; translating, at the web server,the remote desktop drawing command into a web browser drawing updatethat is compatible with the web browser; and responding to the longpolling HTTP request by providing the web browser drawing update fromthe web server to the web browser of the client device utilizing HTTPduring a remote desktop session between the client device and the remotemachine, wherein (i) the remote desktop display protocol is a pushprotocol, (ii) HTTP is a pull protocol, and (iii) the web browsercomprises a windows web browser.
 2. The method of claim 1, wherein theweb browser drawing update comprises an image file and drawingcoordinates for the image file that are recognizable and processable bythe windows web browser.
 3. The method of claim 1, wherein thetranslating comprises: translating the remote desktop drawing commandinto a windows graphics drawing command; updating a portion of a memorybitmap using the windows graphics drawing command, wherein the updatedportion of the memory bitmap represents a portion of an entire image ofthe remote desktop; creating an image file from the memory bitmap; andgenerating drawing coordinates for the image file, wherein the webbrowser drawing update comprises the image file and the drawingcoordinates for the image file, wherein the facilitating providingcomprises placing the drawing coordinates into an HTTP header, whereinutilizing HTTP comprises using an HTTP controller, wherein the webserver is configured to facilitate providing an application frameworkfor hosting one or more web applications comprising an ASP.NETmodel-view-controller (MVC), wherein the one or more web applicationscomprise one or more HTTP handlers, and wherein the one or more HTTPhandlers comprise the HTTP controller of the ASP.NET MVC.
 4. The methodof claim 1, wherein the translating comprises: translating the remotedesktop drawing command into a graphics drawing command that iscompatible with the windows web server, wherein the graphics drawingcommand includes coordinates; extracting the coordinates from thegraphics drawing command; updating at least a portion of an off-screenbitmap based on the graphics drawing command, wherein the at least aportion of the off-screen bitmap is associated with the coordinates,wherein the off-screen bitmap is based on the image of the remotedesktop; creating an image file including a windows image file based onthe at least a portion of the off-screen bitmap; and wherein the webbrowser drawing update comprises the image file and the coordinates. 5.The method of claim 1, wherein the web browser is an HTML5 compatibleweb browser.
 6. The method of claim 1, comprising: receiving a userinput request from the web browser, using HTTP; translating the userinput request into an input command compatible with the remote desktopdisplay protocol; and providing the input command to the remote desktopclient for accessing and controlling the remote desktop of the remotemachine during the remote desktop session, wherein the web browserdrawing update comprises an image file including a windows image fileand drawing coordinates for the image file that are recognizable andprocessable by the windows web browser, wherein the image file and thedrawing coordinates represent a portion of an image of the remotedesktop that has been changed in response to the input command.
 7. Themethod of claim 6, wherein the user input request comprises at least oneof a mouse event, a keyboard event, and a touch event.
 8. The method ofclaim 1, wherein the remote desktop drawing command comprises remotedesktop drawing command parameters and bitmap data received from aremote desktop server of the remote machine, wherein the translatingcomprises one or more of: calculating new drawing command parametersbased on the remote desktop drawing command parameters; adjusting theremote desktop drawing command parameters; and making adjustments to thebitmap data.
 9. The method of claim 1, wherein the remote desktopdrawing command comprises remote desktop drawing command parameters andbitmap data received from a remote desktop server of the remote machine,wherein the translating comprises making adjustments to the bitmap data,wherein the making adjustments comprises converting a 16-bitred-green-blue (RGB) 5-6-5 color format into a 32-bitalpha-red-green-blue (ARGB) 8-8-8-8 format.
 10. The method of claim 1,wherein the web server is an intermediary between the remote machine andthe client device, and wherein the web server is physically separatefrom the remote machine.
 11. A non-transitory machine-readable storagemedium comprising instructions stored therein, the instructions, whenexecuted by a processor, causing the processor to: receive a longpolling HTTP request from a client device, the long polling requestcomprising a drawing request; determine whether a remote desktop drawingcommand is pending; in response to determining that no remote desktopdrawing command is pending, hold the long polling HTTP request until aremote desktop drawing command is received; receive a remote desktopdrawing command based on an image of a remote desktop of a remotemachine, wherein the remote desktop drawing command is compatible with aremote desktop display protocol of the remote machine; translate theremote desktop drawing command into a web browser drawing update that iscompatible with a web browser; and respond to the long polling HTTPrequest request by providing the web browser drawing update utilizinghypertext transfer protocol (HTTP) during a remote desktop sessionbetween a client device for the web browser and the remote machine,wherein (i) the remote desktop display protocol is a push protocol, (ii)HTTP is a pull protocol, and (iii) the web browser comprises a windowsweb browser.
 12. The non-transitory machine-readable storage medium ofclaim 11, wherein the web browser drawing update comprises an image fileand drawing coordinates for the image file that are recognizable andprocessable by the windows web browser.
 13. The non-transitorymachine-readable storage medium of claim 11, the instructions, whenexecuted by the processor, further causing the processor to: translate,at a web server, the remote desktop drawing command into a windowsgraphics drawing command; update a portion of a memory bitmap using thewindows graphics drawing command, wherein the updated portion of thememory bitmap represents a portion of an image of the remote desktop;create an image file including a windows image file from the memorybitmap; and generate drawing coordinates for the image file, wherein theweb browser drawing update comprises the image file and the drawingcoordinates for the image file, wherein facilitating providing comprisesplacing the drawing coordinates into an HTTP header, wherein utilizingHTTP comprises using an HTTP controller, wherein the web server isconfigured to facilitate providing an application framework for hostingone or more web applications, wherein the one or more web applicationscomprise one or more HTTP handlers, and wherein the one or more HTTPhandlers comprise the HTTP controller.
 14. The non-transitorymachine-readable storage medium of claim 11, wherein translatingcomprises: translating, at a web server, the remote desktop drawingcommand into a graphics drawing command that is compatible with the webserver, wherein the graphics drawing command includes coordinates;extracting the coordinates from the graphics drawing command; updatingat least a portion of an off-screen bitmap based on the graphics drawingcommand, wherein the at least a portion of the off-screen bitmap isassociated with the coordinates, wherein the off-screen bitmap is basedon the image of the remote desktop; creating an image file including awindows image file based on the at least a portion of the off-screenbitmap; and wherein the web browser drawing update comprises the windowsimage file and the coordinates.
 15. The non-transitory machine-readablestorage medium of claim 11, wherein the web browser is an HTML5compatible web browser.
 16. The non-transitory machine-readable storagemedium of claim 11, the instructions, when executed by the processor,further causing the processor to: facilitating receiving a user inputrequest from the web browser, using HTTP; translating the user inputrequest into an input command compatible with the remote desktop displayprotocol; and facilitating providing the input command to the remotedesktop client for accessing and controlling the remote desktop of theremote machine during the remote desktop session; wherein the webbrowser drawing update comprises an image file including a windows imagefile and drawing coordinates for the image file that are recognizableand processable by the windows web browser; and wherein the image fileand the drawing coordinates represent a portion of an image of theremote desktop that has been changed in response to the input command.17. The non-transitory machine-readable storage medium of claim 16,wherein the user input request comprises at least one of a mouse event,a keyboard event, and a touch event.
 18. The non-transitorymachine-readable storage medium of claim 11, wherein the remote desktopdrawing command comprises remote desktop drawing command parameters andbitmap data received from a remote desktop server of the remote machine,wherein translating comprises one or more of: calculating new drawingcommand parameters based on the remote desktop drawing commandparameters; adjusting the remote desktop drawing command parameters; andmaking adjustments to the bitmap data.
 19. The non-transitorymachine-readable storage medium of claim 11, wherein the remote desktopdrawing command comprises remote desktop drawing command parameters andbitmap data received from a remote desktop server of the remote machine,wherein translating comprises making adjustments to the bitmap data,wherein making adjustments comprises converting a 16-bit red-green-blue(RGB) 5-6-5 color format into a 32-bit alpha-red-green-blue (ARGB)8-8-8-8 format.
 20. The non-transitory machine-readable storage mediumof claim 11, wherein the translating is to be executed at a web server,and wherein the web server is an intermediary between the remote machineand the client device, and wherein the web server is physically separatefrom the remote machine.
 21. A computing machine comprising thenon-transitory machine-readable storage medium of claim 11, wherein thecomputing machine is a web server.
 22. An apparatus for facilitatingaccessing and controlling a remote desktop of a remote machine in realtime by a web browser at a client device via a hypertext transferprotocol (HTTP) utilizing a web server, the apparatus comprising: aprocessor; a non-transitory computer readable memory coupled to theprocessor; instructions stored in the non-transitory computer readablememory, the instructions, when executed by the processor, causing theprocessor to: receive a long polling HTTP request from a client device,the long polling request comprising a drawing request; determine whethera remote desktop drawing command is pending; in response to determiningthat no remote desktop drawing command is pending, hold the long pollingHTTP request until a remote desktop drawing command is received; receivea remote desktop drawing command based on an image of the remote desktopof the remote machine, wherein the remote desktop drawing command iscompatible with a remote desktop display protocol utilized by the remotemachine; translate the remote desktop drawing command into a web browserdrawing update that is compatible with the web browser; and respond tothe long polling HTTP request by providing the web browser drawingupdate from the web server to the web browser of the client deviceutilizing HTTP during a remote desktop session between the client deviceand the remote machine; wherein (i) the remote desktop display protocolis a push protocol, (ii) HTTP is a pull protocol, and (iii) the webbrowser comprises a windows web browser.
 23. The apparatus of claim 22,wherein the web browser drawing update comprises an image file includinga windows image file and drawing coordinates for the image file that arerecognizable and processable by the windows web browser.
 24. Theapparatus of claim 22, wherein translating the remote desktop drawingcommand comprises: translating the remote desktop drawing command into awindows graphics drawing command; updating a portion of a memory bitmapusing the windows graphics drawing command, wherein the updated portionof the memory bitmap represents a portion of an entire image of theremote desktop session; creating an image file including a windows imagefile from the memory bitmap; and generating drawing coordinates for theimage file, wherein the web browser drawing update comprises the imagefile and the drawing coordinates for the image file, whereinfacilitating providing the web browser drawing update comprises placingthe drawing coordinates into an HTTP header, wherein utilizing HTTPcomprises utilizing an HTTP controller, and wherein the web server is awindows web server that is configured to facilitate providing anapplication framework for hosting one or more web applicationscomprising an ASP.NET model-view-controller (MVC), wherein the one ormore web applications comprise one or more HTTP handlers, and whereinthe one or more HTTP handlers comprise the HTTP controller of theASP.NET MVC.
 25. The apparatus of claim 22, wherein translating theremote desktop drawing command comprises: translating the remote desktopdrawing command into a graphics drawing command that is compatible withthe windows web server, wherein the graphics drawing command includescoordinates; extracting the coordinates from the graphics drawingcommand; updating at least a portion of an off-screen bitmap based onthe graphics drawing command, wherein the at least a portion of theoff-screen bitmap is associated with the coordinates, wherein theoff-screen bitmap is based on the image of the entire remote desktop;and creating an image file including a windows image file based on theat least a portion of the off-screen bitmap; wherein the web browserdrawing update comprises the image file and the coordinates.
 26. Theapparatus of claim 22, wherein the web browser is an HTML5 compatibleweb browser.
 27. The apparatus of claim 22, the instructions, whenexecuted by the processor, further causing the processor to: receive auser input request from the web browser, using HTTP; translate the userinput request into an input command compatible with the remote desktopdisplay protocol; and provide the input command to the remote desktopclient for accessing and controlling the remote desktop of the remotemachine during the remote desktop session; wherein the web browserdrawing update comprises an image file including a windows image fileand drawing coordinates for the image file that are recognizable andprocessable by the windows web browser; and wherein the image file andthe drawing coordinates represent a portion of an image of the of theremote desktop that has been changed in response to the input command.28. The apparatus of claim 27, wherein the user input request comprisesat least one of a mouse event, a keyboard event, and a touch event. 29.The apparatus of claim 22, wherein the remote desktop drawing commandcomprises remote desktop drawing command parameters and bitmap datareceived from a remote desktop server of the remote machine, whereintranslating the remote desktop drawing command comprises one or more of:calculating new drawing command parameters based on the remote desktopdrawing command parameters; adjusting the remote desktop drawing commandparameters; and making adjustments to the bitmap data.
 30. The apparatusof claim 22, wherein the remote desktop drawing command comprises remotedesktop drawing command parameters and bitmap data received from aremote desktop server, wherein translating the remote desktop drawingcommand comprises making adjustments to the bitmap data of the remotemachine, wherein making adjustments comprises converting a 16-bitred-green-blue (RGB) 5-6-5 color format into a 32-bitalpha-red-green-blue (ARGB) 8-8-8-8 format.
 31. The apparatus of claim22, wherein the web server is an intermediary between the remote machineand the client device, and wherein the web server is physically separatefrom the remote machine.
 32. The apparatus of claim 22, wherein theapparatus comprises the web server.